mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-06-23 01:18:54 +00:00
Bump version to 4.9.0-test.2
This commit is contained in:
207
api/php/generated/Chirpstack/Api/GetGatewayResponse.php
vendored
Normal file
207
api/php/generated/Chirpstack/Api/GetGatewayResponse.php
vendored
Normal file
@ -0,0 +1,207 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/gateway.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.GetGatewayResponse</code>
|
||||
*/
|
||||
class GetGatewayResponse extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Gateway object.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.Gateway gateway = 1;</code>
|
||||
*/
|
||||
protected $gateway = null;
|
||||
/**
|
||||
* Created at timestamp.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.protobuf.Timestamp created_at = 2;</code>
|
||||
*/
|
||||
protected $created_at = null;
|
||||
/**
|
||||
* Last update timestamp.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.protobuf.Timestamp updated_at = 3;</code>
|
||||
*/
|
||||
protected $updated_at = null;
|
||||
/**
|
||||
* Last seen at timestamp.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.protobuf.Timestamp last_seen_at = 4;</code>
|
||||
*/
|
||||
protected $last_seen_at = null;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type \Chirpstack\Api\Gateway $gateway
|
||||
* Gateway object.
|
||||
* @type \Google\Protobuf\Timestamp $created_at
|
||||
* Created at timestamp.
|
||||
* @type \Google\Protobuf\Timestamp $updated_at
|
||||
* Last update timestamp.
|
||||
* @type \Google\Protobuf\Timestamp $last_seen_at
|
||||
* Last seen at timestamp.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Gateway::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gateway object.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.Gateway gateway = 1;</code>
|
||||
* @return \Chirpstack\Api\Gateway|null
|
||||
*/
|
||||
public function getGateway()
|
||||
{
|
||||
return $this->gateway;
|
||||
}
|
||||
|
||||
public function hasGateway()
|
||||
{
|
||||
return isset($this->gateway);
|
||||
}
|
||||
|
||||
public function clearGateway()
|
||||
{
|
||||
unset($this->gateway);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gateway object.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.Gateway gateway = 1;</code>
|
||||
* @param \Chirpstack\Api\Gateway $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setGateway($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Chirpstack\Api\Gateway::class);
|
||||
$this->gateway = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Created at timestamp.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.protobuf.Timestamp created_at = 2;</code>
|
||||
* @return \Google\Protobuf\Timestamp|null
|
||||
*/
|
||||
public function getCreatedAt()
|
||||
{
|
||||
return $this->created_at;
|
||||
}
|
||||
|
||||
public function hasCreatedAt()
|
||||
{
|
||||
return isset($this->created_at);
|
||||
}
|
||||
|
||||
public function clearCreatedAt()
|
||||
{
|
||||
unset($this->created_at);
|
||||
}
|
||||
|
||||
/**
|
||||
* Created at timestamp.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.protobuf.Timestamp created_at = 2;</code>
|
||||
* @param \Google\Protobuf\Timestamp $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setCreatedAt($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
|
||||
$this->created_at = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Last update timestamp.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.protobuf.Timestamp updated_at = 3;</code>
|
||||
* @return \Google\Protobuf\Timestamp|null
|
||||
*/
|
||||
public function getUpdatedAt()
|
||||
{
|
||||
return $this->updated_at;
|
||||
}
|
||||
|
||||
public function hasUpdatedAt()
|
||||
{
|
||||
return isset($this->updated_at);
|
||||
}
|
||||
|
||||
public function clearUpdatedAt()
|
||||
{
|
||||
unset($this->updated_at);
|
||||
}
|
||||
|
||||
/**
|
||||
* Last update timestamp.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.protobuf.Timestamp updated_at = 3;</code>
|
||||
* @param \Google\Protobuf\Timestamp $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setUpdatedAt($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
|
||||
$this->updated_at = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Last seen at timestamp.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.protobuf.Timestamp last_seen_at = 4;</code>
|
||||
* @return \Google\Protobuf\Timestamp|null
|
||||
*/
|
||||
public function getLastSeenAt()
|
||||
{
|
||||
return $this->last_seen_at;
|
||||
}
|
||||
|
||||
public function hasLastSeenAt()
|
||||
{
|
||||
return isset($this->last_seen_at);
|
||||
}
|
||||
|
||||
public function clearLastSeenAt()
|
||||
{
|
||||
unset($this->last_seen_at);
|
||||
}
|
||||
|
||||
/**
|
||||
* Last seen at timestamp.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.protobuf.Timestamp last_seen_at = 4;</code>
|
||||
* @param \Google\Protobuf\Timestamp $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setLastSeenAt($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
|
||||
$this->last_seen_at = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user