mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-04-26 05:49:51 +00:00
100 lines
2.1 KiB
PHP
Vendored
100 lines
2.1 KiB
PHP
Vendored
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: api/tenant.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.GetTenantUserRequest</code>
|
|
*/
|
|
class GetTenantUserRequest extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Tenant ID (UUID).
|
|
*
|
|
* Generated from protobuf field <code>string tenant_id = 1;</code>
|
|
*/
|
|
protected $tenant_id = '';
|
|
/**
|
|
* User ID (UUID).
|
|
*
|
|
* Generated from protobuf field <code>string user_id = 2;</code>
|
|
*/
|
|
protected $user_id = '';
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type string $tenant_id
|
|
* Tenant ID (UUID).
|
|
* @type string $user_id
|
|
* User ID (UUID).
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\Chirpstack\Api\Tenant::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Tenant ID (UUID).
|
|
*
|
|
* Generated from protobuf field <code>string tenant_id = 1;</code>
|
|
* @return string
|
|
*/
|
|
public function getTenantId()
|
|
{
|
|
return $this->tenant_id;
|
|
}
|
|
|
|
/**
|
|
* Tenant ID (UUID).
|
|
*
|
|
* 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;
|
|
}
|
|
|
|
/**
|
|
* User ID (UUID).
|
|
*
|
|
* Generated from protobuf field <code>string user_id = 2;</code>
|
|
* @return string
|
|
*/
|
|
public function getUserId()
|
|
{
|
|
return $this->user_id;
|
|
}
|
|
|
|
/**
|
|
* User ID (UUID).
|
|
*
|
|
* Generated from protobuf field <code>string user_id = 2;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setUserId($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->user_id = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|