api.UpdateDeviceProfileTemplateRequest */ class UpdateDeviceProfileTemplateRequest extends \Google\Protobuf\Internal\Message { /** * Object to update. * * Generated from protobuf field .api.DeviceProfileTemplate device_profile_template = 1; */ protected $device_profile_template = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Chirpstack\Api\DeviceProfileTemplate $device_profile_template * Object to update. * } */ public function __construct($data = NULL) { \GPBMetadata\Chirpstack\Api\DeviceProfileTemplate::initOnce(); parent::__construct($data); } /** * Object to update. * * Generated from protobuf field .api.DeviceProfileTemplate device_profile_template = 1; * @return \Chirpstack\Api\DeviceProfileTemplate|null */ public function getDeviceProfileTemplate() { return $this->device_profile_template; } public function hasDeviceProfileTemplate() { return isset($this->device_profile_template); } public function clearDeviceProfileTemplate() { unset($this->device_profile_template); } /** * Object to update. * * Generated from protobuf field .api.DeviceProfileTemplate device_profile_template = 1; * @param \Chirpstack\Api\DeviceProfileTemplate $var * @return $this */ public function setDeviceProfileTemplate($var) { GPBUtil::checkMessage($var, \Chirpstack\Api\DeviceProfileTemplate::class); $this->device_profile_template = $var; return $this; } }