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/status_report/v1/service.proto
namespace Openstatus\Status_report\V1;
use Google\Protobuf\Internal\GPBType;use Google\Protobuf\Internal\GPBUtil;use Google\Protobuf\RepeatedField;
/** * DeleteStatusReportRequest is the request to delete a status report. * * Generated from protobuf message <code>openstatus.status_report.v1.DeleteStatusReportRequest</code> */class DeleteStatusReportRequest extends \Google\Protobuf\Internal\Message{ /** * ID of the status report to delete (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 status report to delete (required). * } */ public function __construct($data = NULL) { \GPBMetadata\Openstatus\StatusReport\V1\Service::initOnce(); parent::__construct($data); }
/** * ID of the status report to delete (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 status report to delete (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; }
}