Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/openstatusHQ/sdk-php. php sdk for openstatus www.openstatus.dev
Something went wrong. Try again.
1.8 kB · 68 lines
PHP
at main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869<?php# Generated by the protocol buffer compiler. DO NOT EDIT!# NO CHECKED-IN PROTOBUF GENCODE# source: openstatus/maintenance/v1/service.proto
namespace Openstatus\Maintenance\V1;
use Google\Protobuf\Internal\GPBType;use Google\Protobuf\Internal\GPBUtil;use Google\Protobuf\RepeatedField;
/** * GetMaintenanceRequest is the request to get a maintenance window by ID. * * Generated from protobuf message <code>openstatus.maintenance.v1.GetMaintenanceRequest</code> */class GetMaintenanceRequest extends \Google\Protobuf\Internal\Message{ /** * ID of the maintenance to retrieve (required). * * Generated from protobuf field <code>string id = 1 [json_name = "id", (.buf.validate.field) = {</code> */ protected $id = '';
/** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $id * ID of the maintenance to retrieve (required). * } */ public function __construct($data = NULL) { \GPBMetadata\Openstatus\Maintenance\V1\Service::initOnce(); parent::__construct($data); }
/** * ID of the maintenance to retrieve (required). * * Generated from protobuf field <code>string id = 1 [json_name = "id", (.buf.validate.field) = {</code> * @return string */ public function getId() { return $this->id; }
/** * ID of the maintenance to retrieve (required). * * Generated from protobuf field <code>string id = 1 [json_name = "id", (.buf.validate.field) = {</code> * @param string $var * @return $this */ public function setId(string $var) { GPBUtil::checkString($var, true); $this->id = $var;
return $this; }
}