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;
/** * AddStaticComponentResponse is the response after adding a static component. * * Generated from protobuf message <code>openstatus.status_page.v1.AddStaticComponentResponse</code> */class AddStaticComponentResponse extends \Google\Protobuf\Internal\Message{ /** * The created component. * * Generated from protobuf field <code>.openstatus.status_page.v1.PageComponent component = 1 [json_name = "component"];</code> */ protected $component = null;
/** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Openstatus\Status_page\V1\PageComponent $component * The created component. * } */ public function __construct($data = NULL) { \GPBMetadata\Openstatus\StatusPage\V1\Service::initOnce(); parent::__construct($data); }
/** * The created component. * * Generated from protobuf field <code>.openstatus.status_page.v1.PageComponent component = 1 [json_name = "component"];</code> * @return \Openstatus\Status_page\V1\PageComponent|null */ public function getComponent() { return $this->component; }
public function hasComponent() { return isset($this->component); }
public function clearComponent() { unset($this->component); }
/** * The created component. * * Generated from protobuf field <code>.openstatus.status_page.v1.PageComponent component = 1 [json_name = "component"];</code> * @param \Openstatus\Status_page\V1\PageComponent $var * @return $this */ public function setComponent(\Openstatus\Status_page\V1\PageComponent|null $var) { $this->component = $var;
return $this; }
}