api.ListDeviceProfileTemplatesRequest */ class ListDeviceProfileTemplatesRequest extends \Google\Protobuf\Internal\Message { /** * Max number of device-profile templates to return in the result-set. * * Generated from protobuf field uint32 limit = 1; */ protected $limit = 0; /** * Offset in the result-set (for pagination). * * Generated from protobuf field uint32 offset = 2; */ protected $offset = 0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int $limit * Max number of device-profile templates to return in the result-set. * @type int $offset * Offset in the result-set (for pagination). * } */ public function __construct($data = NULL) { \GPBMetadata\Chirpstack\Api\DeviceProfileTemplate::initOnce(); parent::__construct($data); } /** * Max number of device-profile templates to return in the result-set. * * Generated from protobuf field uint32 limit = 1; * @return int */ public function getLimit() { return $this->limit; } /** * Max number of device-profile templates to return in the result-set. * * Generated from protobuf field uint32 limit = 1; * @param int $var * @return $this */ public function setLimit($var) { GPBUtil::checkUint32($var); $this->limit = $var; return $this; } /** * Offset in the result-set (for pagination). * * Generated from protobuf field uint32 offset = 2; * @return int */ public function getOffset() { return $this->offset; } /** * Offset in the result-set (for pagination). * * Generated from protobuf field uint32 offset = 2; * @param int $var * @return $this */ public function setOffset($var) { GPBUtil::checkUint32($var); $this->offset = $var; return $this; } }