openstatus.maintenance.v1.DeleteMaintenanceRequest */ class DeleteMaintenanceRequest extends \Google\Protobuf\Internal\Message { /** * ID of the maintenance to delete (required). * * Generated from protobuf field string id = 1 [json_name = "id", (.buf.validate.field) = { */ protected $id = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $id * ID of the maintenance to delete (required). * } */ public function __construct($data = NULL) { \GPBMetadata\Openstatus\Maintenance\V1\Service::initOnce(); parent::__construct($data); } /** * ID of the maintenance to delete (required). * * Generated from protobuf field string id = 1 [json_name = "id", (.buf.validate.field) = { * @return string */ public function getId() { return $this->id; } /** * ID of the maintenance to delete (required). * * Generated from protobuf field string id = 1 [json_name = "id", (.buf.validate.field) = { * @param string $var * @return $this */ public function setId(string $var) { GPBUtil::checkString($var, true); $this->id = $var; return $this; } }