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.0 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;
/** * MsTeamsData contains configuration for Microsoft Teams notifications. * * Generated from protobuf message <code>openstatus.notification.v1.MsTeamsData</code> */class MsTeamsData extends \Google\Protobuf\Internal\Message{ /** * Microsoft Teams webhook URL (Power Automate Workflows). * * Generated from protobuf field <code>string webhook_url = 1 [json_name = "webhookUrl", (.gnostic.openapi.v3.property) = {</code> */ protected $webhook_url = '';
/** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $webhook_url * Microsoft Teams webhook URL (Power Automate Workflows). * } */ public function __construct($data = NULL) { \GPBMetadata\Openstatus\Notification\V1\Providers::initOnce(); parent::__construct($data); }
/** * Microsoft Teams webhook URL (Power Automate Workflows). * * Generated from protobuf field <code>string webhook_url = 1 [json_name = "webhookUrl", (.gnostic.openapi.v3.property) = {</code> * @return string */ public function getWebhookUrl() { return $this->webhook_url; }
/** * Microsoft Teams webhook URL (Power Automate Workflows). * * Generated from protobuf field <code>string webhook_url = 1 [json_name = "webhookUrl", (.gnostic.openapi.v3.property) = {</code> * @param string $var * @return $this */ public function setWebhookUrl(string $var) { GPBUtil::checkString($var, true); $this->webhook_url = $var;
return $this; }
}