api.GetVersionResponse
*/
class GetVersionResponse extends \Google\Protobuf\Internal\Message
{
/**
* version
*
* Generated from protobuf field string version = 1;
*/
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 string version = 1;
* @return string
*/
public function getVersion()
{
return $this->version;
}
/**
* version
*
* Generated from protobuf field string version = 1;
* @param string $var
* @return $this
*/
public function setVersion($var)
{
GPBUtil::checkString($var, True);
$this->version = $var;
return $this;
}
}