mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-04-26 05:49:51 +00:00
138 lines
3.5 KiB
PHP
Vendored
138 lines
3.5 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.ListRelayGatewaysRequest</code>
|
|
*/
|
|
class ListRelayGatewaysRequest extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Max number of relay-gateways to return in the result-set.
|
|
*
|
|
* Generated from protobuf field <code>uint32 limit = 1;</code>
|
|
*/
|
|
protected $limit = 0;
|
|
/**
|
|
* Offset in the result-set (for pagination).
|
|
*
|
|
* Generated from protobuf field <code>uint32 offset = 2;</code>
|
|
*/
|
|
protected $offset = 0;
|
|
/**
|
|
* Tenant ID (UUID) to filter relay-gateways on.
|
|
* To list all relay-gateways as a global admin user, this field can be left blank.
|
|
*
|
|
* Generated from protobuf field <code>string tenant_id = 3;</code>
|
|
*/
|
|
protected $tenant_id = '';
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type int $limit
|
|
* Max number of relay-gateways to return in the result-set.
|
|
* @type int $offset
|
|
* Offset in the result-set (for pagination).
|
|
* @type string $tenant_id
|
|
* Tenant ID (UUID) to filter relay-gateways on.
|
|
* To list all relay-gateways as a global admin user, this field can be left blank.
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\Chirpstack\Api\Gateway::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Max number of relay-gateways to return in the result-set.
|
|
*
|
|
* Generated from protobuf field <code>uint32 limit = 1;</code>
|
|
* @return int
|
|
*/
|
|
public function getLimit()
|
|
{
|
|
return $this->limit;
|
|
}
|
|
|
|
/**
|
|
* Max number of relay-gateways to return in the result-set.
|
|
*
|
|
* Generated from protobuf field <code>uint32 limit = 1;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setLimit($var)
|
|
{
|
|
GPBUtil::checkUint32($var);
|
|
$this->limit = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Offset in the result-set (for pagination).
|
|
*
|
|
* Generated from protobuf field <code>uint32 offset = 2;</code>
|
|
* @return int
|
|
*/
|
|
public function getOffset()
|
|
{
|
|
return $this->offset;
|
|
}
|
|
|
|
/**
|
|
* Offset in the result-set (for pagination).
|
|
*
|
|
* Generated from protobuf field <code>uint32 offset = 2;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setOffset($var)
|
|
{
|
|
GPBUtil::checkUint32($var);
|
|
$this->offset = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Tenant ID (UUID) to filter relay-gateways on.
|
|
* To list all relay-gateways as a global admin user, this field can be left blank.
|
|
*
|
|
* Generated from protobuf field <code>string tenant_id = 3;</code>
|
|
* @return string
|
|
*/
|
|
public function getTenantId()
|
|
{
|
|
return $this->tenant_id;
|
|
}
|
|
|
|
/**
|
|
* Tenant ID (UUID) to filter relay-gateways on.
|
|
* To list all relay-gateways as a global admin user, this field can be left blank.
|
|
*
|
|
* Generated from protobuf field <code>string tenant_id = 3;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setTenantId($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->tenant_id = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|