api.AddRelayDeviceRequest */ class AddRelayDeviceRequest extends \Google\Protobuf\Internal\Message { /** * Relay DevEUI (EUI64). * * Generated from protobuf field string relay_dev_eui = 1; */ protected $relay_dev_eui = ''; /** * Device DevEUI (EUI64). * * Generated from protobuf field string device_dev_eui = 2; */ protected $device_dev_eui = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $relay_dev_eui * Relay DevEUI (EUI64). * @type string $device_dev_eui * Device DevEUI (EUI64). * } */ public function __construct($data = NULL) { \GPBMetadata\Chirpstack\Api\Relay::initOnce(); parent::__construct($data); } /** * Relay DevEUI (EUI64). * * Generated from protobuf field string relay_dev_eui = 1; * @return string */ public function getRelayDevEui() { return $this->relay_dev_eui; } /** * Relay DevEUI (EUI64). * * Generated from protobuf field string relay_dev_eui = 1; * @param string $var * @return $this */ public function setRelayDevEui($var) { GPBUtil::checkString($var, True); $this->relay_dev_eui = $var; return $this; } /** * Device DevEUI (EUI64). * * Generated from protobuf field string device_dev_eui = 2; * @return string */ public function getDeviceDevEui() { return $this->device_dev_eui; } /** * Device DevEUI (EUI64). * * Generated from protobuf field string device_dev_eui = 2; * @param string $var * @return $this */ public function setDeviceDevEui($var) { GPBUtil::checkString($var, True); $this->device_dev_eui = $var; return $this; } }