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.1 kB · 77 lines
PHP
at main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778<?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;
/** * UpdateStatusPageResponse is the response after updating a status page. * * Generated from protobuf message <code>openstatus.status_page.v1.UpdateStatusPageResponse</code> */class UpdateStatusPageResponse extends \Google\Protobuf\Internal\Message{ /** * The updated status page. * * Generated from protobuf field <code>.openstatus.status_page.v1.StatusPage status_page = 1 [json_name = "statusPage"];</code> */ protected $status_page = null;
/** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Openstatus\Status_page\V1\StatusPage $status_page * The updated status page. * } */ public function __construct($data = NULL) { \GPBMetadata\Openstatus\StatusPage\V1\Service::initOnce(); parent::__construct($data); }
/** * The updated status page. * * Generated from protobuf field <code>.openstatus.status_page.v1.StatusPage status_page = 1 [json_name = "statusPage"];</code> * @return \Openstatus\Status_page\V1\StatusPage|null */ public function getStatusPage() { return $this->status_page; }
public function hasStatusPage() { return isset($this->status_page); }
public function clearStatusPage() { unset($this->status_page); }
/** * The updated status page. * * Generated from protobuf field <code>.openstatus.status_page.v1.StatusPage status_page = 1 [json_name = "statusPage"];</code> * @param \Openstatus\Status_page\V1\StatusPage $var * @return $this */ public function setStatusPage(\Openstatus\Status_page\V1\StatusPage|null $var) { $this->status_page = $var;
return $this; }
}