openstatus.notification.v1.PagerDutyData
*/
class PagerDutyData extends \Google\Protobuf\Internal\Message
{
/**
* PagerDuty integration key.
*
* Generated from protobuf field string integration_key = 1 [json_name = "integrationKey", (.gnostic.openapi.v3.property) = {
*/
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 string integration_key = 1 [json_name = "integrationKey", (.gnostic.openapi.v3.property) = {
* @return string
*/
public function getIntegrationKey()
{
return $this->integration_key;
}
/**
* PagerDuty integration key.
*
* Generated from protobuf field string integration_key = 1 [json_name = "integrationKey", (.gnostic.openapi.v3.property) = {
* @param string $var
* @return $this
*/
public function setIntegrationKey(string $var)
{
GPBUtil::checkString($var, true);
$this->integration_key = $var;
return $this;
}
}