mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-06-15 13:58:27 +00:00
Bump version to 4.9.0-test.2
This commit is contained in:
99
api/php/generated/Chirpstack/Api/CreateApiKeyResponse.php
vendored
Normal file
99
api/php/generated/Chirpstack/Api/CreateApiKeyResponse.php
vendored
Normal file
@ -0,0 +1,99 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/internal.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.CreateApiKeyResponse</code>
|
||||
*/
|
||||
class CreateApiKeyResponse extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* API key ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
*/
|
||||
protected $id = '';
|
||||
/**
|
||||
* API token for authentication API requests.
|
||||
*
|
||||
* Generated from protobuf field <code>string token = 2;</code>
|
||||
*/
|
||||
protected $token = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $id
|
||||
* API key ID.
|
||||
* @type string $token
|
||||
* API token for authentication API requests.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Internal::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* API key ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* API key ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* API token for authentication API requests.
|
||||
*
|
||||
* Generated from protobuf field <code>string token = 2;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getToken()
|
||||
{
|
||||
return $this->token;
|
||||
}
|
||||
|
||||
/**
|
||||
* API token for authentication API requests.
|
||||
*
|
||||
* Generated from protobuf field <code>string token = 2;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setToken($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->token = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user