mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-04-26 05:49:51 +00:00
76 lines
1.7 KiB
PHP
Vendored
76 lines
1.7 KiB
PHP
Vendored
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: api/device.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.UpdateDeviceKeysRequest</code>
|
|
*/
|
|
class UpdateDeviceKeysRequest extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Device-keys object.
|
|
*
|
|
* Generated from protobuf field <code>.api.DeviceKeys device_keys = 1;</code>
|
|
*/
|
|
protected $device_keys = null;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Chirpstack\Api\DeviceKeys $device_keys
|
|
* Device-keys object.
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\Chirpstack\Api\Device::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Device-keys object.
|
|
*
|
|
* Generated from protobuf field <code>.api.DeviceKeys device_keys = 1;</code>
|
|
* @return \Chirpstack\Api\DeviceKeys|null
|
|
*/
|
|
public function getDeviceKeys()
|
|
{
|
|
return $this->device_keys;
|
|
}
|
|
|
|
public function hasDeviceKeys()
|
|
{
|
|
return isset($this->device_keys);
|
|
}
|
|
|
|
public function clearDeviceKeys()
|
|
{
|
|
unset($this->device_keys);
|
|
}
|
|
|
|
/**
|
|
* Device-keys object.
|
|
*
|
|
* Generated from protobuf field <code>.api.DeviceKeys device_keys = 1;</code>
|
|
* @param \Chirpstack\Api\DeviceKeys $var
|
|
* @return $this
|
|
*/
|
|
public function setDeviceKeys($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Chirpstack\Api\DeviceKeys::class);
|
|
$this->device_keys = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|