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.
2.5 kB · 109 lines
PHP
at main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110<?php# Generated by the protocol buffer compiler. DO NOT EDIT!# NO CHECKED-IN PROTOBUF GENCODE# source: openstatus/status_page/v1/service.proto
namespace Openstatus\Status_page\V1;
use Google\Protobuf\Internal\GPBType;use Google\Protobuf\Internal\GPBUtil;use Google\Protobuf\RepeatedField;
/** * GetStatusPageContentRequest is the request to get the full content of a status page. * * Generated from protobuf message <code>openstatus.status_page.v1.GetStatusPageContentRequest</code> */class GetStatusPageContentRequest extends \Google\Protobuf\Internal\Message{ protected $identifier;
/** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $id * ID of the status page. * @type string $slug * Slug of the status page. * } */ public function __construct($data = NULL) { \GPBMetadata\Openstatus\StatusPage\V1\Service::initOnce(); parent::__construct($data); }
/** * ID of the status page. * * Generated from protobuf field <code>string id = 1 [json_name = "id"];</code> * @return string */ public function getId() { return $this->readOneof(1); }
public function hasId() { return $this->hasOneof(1); }
/** * ID of the status page. * * Generated from protobuf field <code>string id = 1 [json_name = "id"];</code> * @param string $var * @return $this */ public function setId(string $var) { GPBUtil::checkString($var, true); $this->writeOneof(1, $var);
return $this; }
/** * Slug of the status page. * * Generated from protobuf field <code>string slug = 2 [json_name = "slug"];</code> * @return string */ public function getSlug() { return $this->readOneof(2); }
public function hasSlug() { return $this->hasOneof(2); }
/** * Slug of the status page. * * Generated from protobuf field <code>string slug = 2 [json_name = "slug"];</code> * @param string $var * @return $this */ public function setSlug(string $var) { GPBUtil::checkString($var, true); $this->writeOneof(2, $var);
return $this; }
/** * @return string */ public function getIdentifier() { return $this->whichOneof("identifier"); }
}