api.ThingsBoardIntegration */ class ThingsBoardIntegration extends \Google\Protobuf\Internal\Message { /** * Application ID (UUID). * * Generated from protobuf field string application_id = 1; */ protected $application_id = ''; /** * ThingsBoard server endpoint, e.g. https://example.com * * Generated from protobuf field string server = 2; */ protected $server = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $application_id * Application ID (UUID). * @type string $server * ThingsBoard server endpoint, e.g. https://example.com * } */ 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; } /** * ThingsBoard server endpoint, e.g. https://example.com * * Generated from protobuf field string server = 2; * @return string */ public function getServer() { return $this->server; } /** * ThingsBoard server endpoint, e.g. https://example.com * * 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; } }