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 · 77 lines
PHP
at main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778<?php# Generated by the protocol buffer compiler. DO NOT EDIT!# NO CHECKED-IN PROTOBUF GENCODE# source: openstatus/notification/v1/service.proto
namespace Openstatus\Notification\V1;
use Google\Protobuf\Internal\GPBType;use Google\Protobuf\Internal\GPBUtil;use Google\Protobuf\RepeatedField;
/** * CreateNotificationResponse is the response after creating a notification channel. * * Generated from protobuf message <code>openstatus.notification.v1.CreateNotificationResponse</code> */class CreateNotificationResponse extends \Google\Protobuf\Internal\Message{ /** * The created notification channel. * * Generated from protobuf field <code>.openstatus.notification.v1.Notification notification = 1 [json_name = "notification"];</code> */ protected $notification = null;
/** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Openstatus\Notification\V1\Notification $notification * The created notification channel. * } */ public function __construct($data = NULL) { \GPBMetadata\Openstatus\Notification\V1\Service::initOnce(); parent::__construct($data); }
/** * The created notification channel. * * Generated from protobuf field <code>.openstatus.notification.v1.Notification notification = 1 [json_name = "notification"];</code> * @return \Openstatus\Notification\V1\Notification|null */ public function getNotification() { return $this->notification; }
public function hasNotification() { return isset($this->notification); }
public function clearNotification() { unset($this->notification); }
/** * The created notification channel. * * Generated from protobuf field <code>.openstatus.notification.v1.Notification notification = 1 [json_name = "notification"];</code> * @param \Openstatus\Notification\V1\Notification $var * @return $this */ public function setNotification(\Openstatus\Notification\V1\Notification|null $var) { $this->notification = $var;
return $this; }
}