api.GetApplicationResponse */ class GetApplicationResponse extends \Google\Protobuf\Internal\Message { /** * Application object. * * Generated from protobuf field .api.Application application = 1; */ protected $application = null; /** * Created at timestamp. * * Generated from protobuf field .google.protobuf.Timestamp created_at = 2; */ protected $created_at = null; /** * Last update timestamp. * * Generated from protobuf field .google.protobuf.Timestamp updated_at = 3; */ protected $updated_at = null; /** * Measurement keys. * This contains the measurement keys from all the device-profiles that * are used by the devices under this application. * * Generated from protobuf field repeated string measurement_keys = 4; */ private $measurement_keys; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Chirpstack\Api\Application $application * Application object. * @type \Google\Protobuf\Timestamp $created_at * Created at timestamp. * @type \Google\Protobuf\Timestamp $updated_at * Last update timestamp. * @type array|\Google\Protobuf\Internal\RepeatedField $measurement_keys * Measurement keys. * This contains the measurement keys from all the device-profiles that * are used by the devices under this application. * } */ public function __construct($data = NULL) { \GPBMetadata\Chirpstack\Api\Application::initOnce(); parent::__construct($data); } /** * Application object. * * Generated from protobuf field .api.Application application = 1; * @return \Chirpstack\Api\Application|null */ public function getApplication() { return $this->application; } public function hasApplication() { return isset($this->application); } public function clearApplication() { unset($this->application); } /** * Application object. * * Generated from protobuf field .api.Application application = 1; * @param \Chirpstack\Api\Application $var * @return $this */ public function setApplication($var) { GPBUtil::checkMessage($var, \Chirpstack\Api\Application::class); $this->application = $var; return $this; } /** * Created at timestamp. * * Generated from protobuf field .google.protobuf.Timestamp created_at = 2; * @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 .google.protobuf.Timestamp created_at = 2; * @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 .google.protobuf.Timestamp updated_at = 3; * @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 .google.protobuf.Timestamp updated_at = 3; * @param \Google\Protobuf\Timestamp $var * @return $this */ public function setUpdatedAt($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->updated_at = $var; return $this; } /** * Measurement keys. * This contains the measurement keys from all the device-profiles that * are used by the devices under this application. * * Generated from protobuf field repeated string measurement_keys = 4; * @return \Google\Protobuf\Internal\RepeatedField */ public function getMeasurementKeys() { return $this->measurement_keys; } /** * Measurement keys. * This contains the measurement keys from all the device-profiles that * are used by the devices under this application. * * Generated from protobuf field repeated string measurement_keys = 4; * @param array|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setMeasurementKeys($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->measurement_keys = $arr; return $this; } }