chirpstack/api/php/generated/Chirpstack/Api/DeleteRelayGatewayRequest.php
2024-06-25 12:27:28 +01:00

100 lines
2.2 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.DeleteRelayGatewayRequest</code>
*/
class DeleteRelayGatewayRequest extends \Google\Protobuf\Internal\Message
{
/**
* Tenant ID.
*
* Generated from protobuf field <code>string tenant_id = 1;</code>
*/
protected $tenant_id = '';
/**
* Relay ID (4 byte HEX).
*
* Generated from protobuf field <code>string relay_id = 2;</code>
*/
protected $relay_id = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $tenant_id
* Tenant ID.
* @type string $relay_id
* Relay ID (4 byte HEX).
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Chirpstack\Api\Gateway::initOnce();
parent::__construct($data);
}
/**
* Tenant ID.
*
* Generated from protobuf field <code>string tenant_id = 1;</code>
* @return string
*/
public function getTenantId()
{
return $this->tenant_id;
}
/**
* Tenant ID.
*
* Generated from protobuf field <code>string tenant_id = 1;</code>
* @param string $var
* @return $this
*/
public function setTenantId($var)
{
GPBUtil::checkString($var, True);
$this->tenant_id = $var;
return $this;
}
/**
* Relay ID (4 byte HEX).
*
* Generated from protobuf field <code>string relay_id = 2;</code>
* @return string
*/
public function getRelayId()
{
return $this->relay_id;
}
/**
* Relay ID (4 byte HEX).
*
* Generated from protobuf field <code>string relay_id = 2;</code>
* @param string $var
* @return $this
*/
public function setRelayId($var)
{
GPBUtil::checkString($var, True);
$this->relay_id = $var;
return $this;
}
}