openstatus.notification.v1.GetNotificationResponse */ class GetNotificationResponse extends \Google\Protobuf\Internal\Message { /** * The notification channel. * * Generated from protobuf field .openstatus.notification.v1.Notification notification = 1 [json_name = "notification"]; */ protected $notification = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Openstatus\Notification\V1\Notification $notification * The notification channel. * } */ public function __construct($data = NULL) { \GPBMetadata\Openstatus\Notification\V1\Service::initOnce(); parent::__construct($data); } /** * The notification channel. * * Generated from protobuf field .openstatus.notification.v1.Notification notification = 1 [json_name = "notification"]; * @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 notification channel. * * Generated from protobuf field .openstatus.notification.v1.Notification notification = 1 [json_name = "notification"]; * @param \Openstatus\Notification\V1\Notification $var * @return $this */ public function setNotification(\Openstatus\Notification\V1\Notification|null $var) { $this->notification = $var; return $this; } }