mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-06-14 13:38:08 +00:00
Bump version to 4.9.0-test.2
This commit is contained in:
75
api/php/generated/Chirpstack/Api/CreateApiKeyRequest.php
vendored
Normal file
75
api/php/generated/Chirpstack/Api/CreateApiKeyRequest.php
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
<?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.CreateApiKeyRequest</code>
|
||||
*/
|
||||
class CreateApiKeyRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* The API key to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.ApiKey api_key = 1;</code>
|
||||
*/
|
||||
protected $api_key = null;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type \Chirpstack\Api\ApiKey $api_key
|
||||
* The API key to create.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Internal::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* The API key to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.ApiKey api_key = 1;</code>
|
||||
* @return \Chirpstack\Api\ApiKey|null
|
||||
*/
|
||||
public function getApiKey()
|
||||
{
|
||||
return $this->api_key;
|
||||
}
|
||||
|
||||
public function hasApiKey()
|
||||
{
|
||||
return isset($this->api_key);
|
||||
}
|
||||
|
||||
public function clearApiKey()
|
||||
{
|
||||
unset($this->api_key);
|
||||
}
|
||||
|
||||
/**
|
||||
* The API key to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.ApiKey api_key = 1;</code>
|
||||
* @param \Chirpstack\Api\ApiKey $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setApiKey($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Chirpstack\Api\ApiKey::class);
|
||||
$this->api_key = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user