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/gateway.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.UpdateGatewayRequest</code>
|
|
*/
|
|
class UpdateGatewayRequest extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Gateway object.
|
|
*
|
|
* Generated from protobuf field <code>.api.Gateway gateway = 1;</code>
|
|
*/
|
|
protected $gateway = null;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Chirpstack\Api\Gateway $gateway
|
|
* Gateway object.
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\Chirpstack\Api\Gateway::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Gateway object.
|
|
*
|
|
* Generated from protobuf field <code>.api.Gateway gateway = 1;</code>
|
|
* @return \Chirpstack\Api\Gateway|null
|
|
*/
|
|
public function getGateway()
|
|
{
|
|
return $this->gateway;
|
|
}
|
|
|
|
public function hasGateway()
|
|
{
|
|
return isset($this->gateway);
|
|
}
|
|
|
|
public function clearGateway()
|
|
{
|
|
unset($this->gateway);
|
|
}
|
|
|
|
/**
|
|
* Gateway object.
|
|
*
|
|
* Generated from protobuf field <code>.api.Gateway gateway = 1;</code>
|
|
* @param \Chirpstack\Api\Gateway $var
|
|
* @return $this
|
|
*/
|
|
public function setGateway($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Chirpstack\Api\Gateway::class);
|
|
$this->gateway = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|