api.RelayDeviceListItem */ class RelayDeviceListItem extends \Google\Protobuf\Internal\Message { /** * DevEUI (EUI64). * * Generated from protobuf field string dev_eui = 1; */ protected $dev_eui = ''; /** * Created at timestamp. * * Generated from protobuf field .google.protobuf.Timestamp created_at = 2; */ protected $created_at = null; /** * Device name. * * Generated from protobuf field string name = 3; */ protected $name = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $dev_eui * DevEUI (EUI64). * @type \Google\Protobuf\Timestamp $created_at * Created at timestamp. * @type string $name * Device name. * } */ public function __construct($data = NULL) { \GPBMetadata\Chirpstack\Api\Relay::initOnce(); parent::__construct($data); } /** * DevEUI (EUI64). * * Generated from protobuf field string dev_eui = 1; * @return string */ public function getDevEui() { return $this->dev_eui; } /** * DevEUI (EUI64). * * Generated from protobuf field string dev_eui = 1; * @param string $var * @return $this */ public function setDevEui($var) { GPBUtil::checkString($var, True); $this->dev_eui = $var; return $this; } /** * Created at timestamp. * * Generated from protobuf field .google.protobuf.Timestamp created_at = 2; * @return \Google\Protobuf\Timestamp|null */ public function getCreatedAt() { return $this->created_at; } public function hasCreatedAt() { return isset($this->created_at); } public function clearCreatedAt() { unset($this->created_at); } /** * Created at timestamp. * * Generated from protobuf field .google.protobuf.Timestamp created_at = 2; * @param \Google\Protobuf\Timestamp $var * @return $this */ public function setCreatedAt($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->created_at = $var; return $this; } /** * Device name. * * Generated from protobuf field string name = 3; * @return string */ public function getName() { return $this->name; } /** * Device name. * * Generated from protobuf field string name = 3; * @param string $var * @return $this */ public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; } }