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.8 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;
/** * SmsData contains configuration for SMS notifications. * * Generated from protobuf message <code>openstatus.notification.v1.SmsData</code> */class SmsData extends \Google\Protobuf\Internal\Message{ /** * Phone number to send SMS to. * * Generated from protobuf field <code>string phone_number = 1 [json_name = "phoneNumber", (.gnostic.openapi.v3.property) = {</code> */ protected $phone_number = '';
/** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $phone_number * Phone number to send SMS to. * } */ public function __construct($data = NULL) { \GPBMetadata\Openstatus\Notification\V1\Providers::initOnce(); parent::__construct($data); }
/** * Phone number to send SMS to. * * Generated from protobuf field <code>string phone_number = 1 [json_name = "phoneNumber", (.gnostic.openapi.v3.property) = {</code> * @return string */ public function getPhoneNumber() { return $this->phone_number; }
/** * Phone number to send SMS to. * * Generated from protobuf field <code>string phone_number = 1 [json_name = "phoneNumber", (.gnostic.openapi.v3.property) = {</code> * @param string $var * @return $this */ public function setPhoneNumber(string $var) { GPBUtil::checkString($var, true); $this->phone_number = $var;
return $this; }
}