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.2 kB · 88 lines
PHP
at main
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889<?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;
/** * WebhookChannelHeader is a single custom HTTP header. * * Generated from protobuf message <code>openstatus.status_page.v1.WebhookChannelHeader</code> */class WebhookChannelHeader extends \Google\Protobuf\Internal\Message{ /** * Generated from protobuf field <code>string key = 1 [json_name = "key", (.buf.validate.field) = {</code> */ protected $key = ''; /** * Generated from protobuf field <code>string value = 2 [json_name = "value"];</code> */ protected $value = '';
/** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $key * @type string $value * } */ public function __construct($data = NULL) { \GPBMetadata\Openstatus\StatusPage\V1\Service::initOnce(); parent::__construct($data); }
/** * Generated from protobuf field <code>string key = 1 [json_name = "key", (.buf.validate.field) = {</code> * @return string */ public function getKey() { return $this->key; }
/** * Generated from protobuf field <code>string key = 1 [json_name = "key", (.buf.validate.field) = {</code> * @param string $var * @return $this */ public function setKey(string $var) { GPBUtil::checkString($var, true); $this->key = $var;
return $this; }
/** * Generated from protobuf field <code>string value = 2 [json_name = "value"];</code> * @return string */ public function getValue() { return $this->value; }
/** * Generated from protobuf field <code>string value = 2 [json_name = "value"];</code> * @param string $var * @return $this */ public function setValue(string $var) { GPBUtil::checkString($var, true); $this->value = $var;
return $this; }
}