chirpstack/api/php/generated/Chirpstack/Api/MyDevicesIntegration.php
2024-06-25 12:27:28 +01:00

100 lines
2.2 KiB
PHP
Vendored

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: api/application.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.MyDevicesIntegration</code>
*/
class MyDevicesIntegration extends \Google\Protobuf\Internal\Message
{
/**
* Application ID (UUID).
*
* Generated from protobuf field <code>string application_id = 1;</code>
*/
protected $application_id = '';
/**
* myDevices API endpoint.
*
* Generated from protobuf field <code>string endpoint = 2;</code>
*/
protected $endpoint = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $application_id
* Application ID (UUID).
* @type string $endpoint
* myDevices API endpoint.
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Chirpstack\Api\Application::initOnce();
parent::__construct($data);
}
/**
* Application ID (UUID).
*
* Generated from protobuf field <code>string application_id = 1;</code>
* @return string
*/
public function getApplicationId()
{
return $this->application_id;
}
/**
* Application ID (UUID).
*
* Generated from protobuf field <code>string application_id = 1;</code>
* @param string $var
* @return $this
*/
public function setApplicationId($var)
{
GPBUtil::checkString($var, True);
$this->application_id = $var;
return $this;
}
/**
* myDevices API endpoint.
*
* Generated from protobuf field <code>string endpoint = 2;</code>
* @return string
*/
public function getEndpoint()
{
return $this->endpoint;
}
/**
* myDevices API endpoint.
*
* Generated from protobuf field <code>string endpoint = 2;</code>
* @param string $var
* @return $this
*/
public function setEndpoint($var)
{
GPBUtil::checkString($var, True);
$this->endpoint = $var;
return $this;
}
}