/module/Provisioning/src/Provisioning/Model/Device.php
PHP | 119 lines | 45 code | 16 blank | 58 comment | 0 complexity | d8baf2ce73fa1e368b3462062eaaed15 MD5 | raw file
Possible License(s): BSD-3-Clause
- <?php
- /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
- namespace Provisioning\Model;
- use Provisioning\InputFilter\DeviceInputFilter;
- /**
- * Description of Device
- *
- * @author rodolfo
- */
- class Device extends DeviceInputFilter {
-
- public $name;
- public $type;
- public $protocol;
- public $groupId;
- /**
- * Gets the value of name.
- *
- * @return mixed
- */
- public function getName()
- {
- return $this->name;
- }
- /**
- * Sets the value of name.
- *
- * @param mixed $name the name
- *
- * @return self
- */
- public function setName($name)
- {
- $this->name = $name;
- return $this;
- }
- /**
- * Gets the value of type.
- *
- * @return mixed
- */
- public function getType()
- {
- return $this->type;
- }
- /**
- * Sets the value of type.
- *
- * @param mixed $type the type
- *
- * @return self
- */
- public function setType($type)
- {
- $this->type = $type;
- return $this;
- }
- /**
- * Gets the value of protocol.
- *
- * @return mixed
- */
- public function getProtocol()
- {
- return $this->protocol;
- }
- /**
- * Sets the value of protocol.
- *
- * @param mixed $protocol the protocol
- *
- * @return self
- */
- public function setProtocol($protocol)
- {
- $this->protocol = $protocol;
- return $this;
- }
- /**
- * Gets the value of groupId.
- *
- * @return mixed
- */
- public function getGroupId()
- {
- return $this->groupId;
- }
- /**
- * Sets the value of groupId.
- *
- * @param mixed $groupId the group id
- *
- * @return self
- */
- public function setGroupId($groupId)
- {
- $this->groupId = $groupId;
- return $this;
- }
- }