chirpstack/api/php/generated/Chirpstack/Api/GetVersionResponse.php
2024-06-25 12:27:28 +01:00

66 lines
1.4 KiB
PHP
Vendored

<?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.GetVersionResponse</code>
*/
class GetVersionResponse extends \Google\Protobuf\Internal\Message
{
/**
* version
*
* Generated from protobuf field <code>string version = 1;</code>
*/
protected $version = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $version
* version
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Chirpstack\Api\Internal::initOnce();
parent::__construct($data);
}
/**
* version
*
* Generated from protobuf field <code>string version = 1;</code>
* @return string
*/
public function getVersion()
{
return $this->version;
}
/**
* version
*
* Generated from protobuf field <code>string version = 1;</code>
* @param string $var
* @return $this
*/
public function setVersion($var)
{
GPBUtil::checkString($var, True);
$this->version = $var;
return $this;
}
}