mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-04-26 05:49:51 +00:00
76 lines
2.0 KiB
PHP
Vendored
76 lines
2.0 KiB
PHP
Vendored
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: api/device_profile_template.proto
|
|
|
|
namespace Chirpstack\Api;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>api.UpdateDeviceProfileTemplateRequest</code>
|
|
*/
|
|
class UpdateDeviceProfileTemplateRequest extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Object to update.
|
|
*
|
|
* Generated from protobuf field <code>.api.DeviceProfileTemplate device_profile_template = 1;</code>
|
|
*/
|
|
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 <code>.api.DeviceProfileTemplate device_profile_template = 1;</code>
|
|
* @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 <code>.api.DeviceProfileTemplate device_profile_template = 1;</code>
|
|
* @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;
|
|
}
|
|
|
|
}
|
|
|