api.PilotThingsIntegration */ class PilotThingsIntegration extends \Google\Protobuf\Internal\Message { /** * Application ID (UUID). * * Generated from protobuf field string application_id = 1; */ protected $application_id = ''; /** * Server URL. * * Generated from protobuf field string server = 2; */ protected $server = ''; /** * Authentication token. * * Generated from protobuf field string token = 3; */ protected $token = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $application_id * Application ID (UUID). * @type string $server * Server URL. * @type string $token * Authentication token. * } */ public function __construct($data = NULL) { \GPBMetadata\Chirpstack\Api\Application::initOnce(); parent::__construct($data); } /** * Application ID (UUID). * * Generated from protobuf field string application_id = 1; * @return string */ public function getApplicationId() { return $this->application_id; } /** * Application ID (UUID). * * Generated from protobuf field string application_id = 1; * @param string $var * @return $this */ public function setApplicationId($var) { GPBUtil::checkString($var, True); $this->application_id = $var; return $this; } /** * Server URL. * * Generated from protobuf field string server = 2; * @return string */ public function getServer() { return $this->server; } /** * Server URL. * * Generated from protobuf field string server = 2; * @param string $var * @return $this */ public function setServer($var) { GPBUtil::checkString($var, True); $this->server = $var; return $this; } /** * Authentication token. * * Generated from protobuf field string token = 3; * @return string */ public function getToken() { return $this->token; } /** * Authentication token. * * Generated from protobuf field string token = 3; * @param string $var * @return $this */ public function setToken($var) { GPBUtil::checkString($var, True); $this->token = $var; return $this; } }