api.GetTenantUserRequest */ class GetTenantUserRequest extends \Google\Protobuf\Internal\Message { /** * Tenant ID (UUID). * * Generated from protobuf field string tenant_id = 1; */ protected $tenant_id = ''; /** * User ID (UUID). * * Generated from protobuf field string user_id = 2; */ 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 string tenant_id = 1; * @return string */ public function getTenantId() { return $this->tenant_id; } /** * Tenant ID (UUID). * * Generated from protobuf field string tenant_id = 1; * @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 string user_id = 2; * @return string */ public function getUserId() { return $this->user_id; } /** * User ID (UUID). * * Generated from protobuf field string user_id = 2; * @param string $var * @return $this */ public function setUserId($var) { GPBUtil::checkString($var, True); $this->user_id = $var; return $this; } }