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.9 kB · 68 lines
PHP
at main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869<?php# Generated by the protocol buffer compiler. DO NOT EDIT!# NO CHECKED-IN PROTOBUF GENCODE# source: openstatus/notification/v1/providers.proto
namespace Openstatus\Notification\V1;
use Google\Protobuf\Internal\GPBType;use Google\Protobuf\Internal\GPBUtil;use Google\Protobuf\RepeatedField;
/** * PagerDutyData contains configuration for PagerDuty notifications. * * Generated from protobuf message <code>openstatus.notification.v1.PagerDutyData</code> */class PagerDutyData extends \Google\Protobuf\Internal\Message{ /** * PagerDuty integration key. * * Generated from protobuf field <code>string integration_key = 1 [json_name = "integrationKey", (.gnostic.openapi.v3.property) = {</code> */ protected $integration_key = '';
/** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $integration_key * PagerDuty integration key. * } */ public function __construct($data = NULL) { \GPBMetadata\Openstatus\Notification\V1\Providers::initOnce(); parent::__construct($data); }
/** * PagerDuty integration key. * * Generated from protobuf field <code>string integration_key = 1 [json_name = "integrationKey", (.gnostic.openapi.v3.property) = {</code> * @return string */ public function getIntegrationKey() { return $this->integration_key; }
/** * PagerDuty integration key. * * Generated from protobuf field <code>string integration_key = 1 [json_name = "integrationKey", (.gnostic.openapi.v3.property) = {</code> * @param string $var * @return $this */ public function setIntegrationKey(string $var) { GPBUtil::checkString($var, true); $this->integration_key = $var;
return $this; }
}