Udostępnij za pośrednictwem


SmsChannelProperties Class

Definition

The parameters to provide for the Sms channel.

public class SmsChannelProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.BotService.Models.SmsChannelProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.BotService.Models.SmsChannelProperties>
public class SmsChannelProperties
type SmsChannelProperties = class
    interface IJsonModel<SmsChannelProperties>
    interface IPersistableModel<SmsChannelProperties>
type SmsChannelProperties = class
Public Class SmsChannelProperties
Implements IJsonModel(Of SmsChannelProperties), IPersistableModel(Of SmsChannelProperties)
Public Class SmsChannelProperties
Inheritance
SmsChannelProperties
Implements

Constructors

SmsChannelProperties(String, String, Boolean)

Initializes a new instance of SmsChannelProperties.

Properties

AccountSID

The Sms account SID. Value only returned through POST to the action Channel List API, otherwise empty.

AuthToken

The Sms auth token. Value only returned through POST to the action Channel List API, otherwise empty.

IsEnabled

Whether this channel is enabled for the bot.

IsValidated

Whether this channel is validated for the bot.

Phone

The Sms phone.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SmsChannelProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SmsChannelProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SmsChannelProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SmsChannelProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SmsChannelProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to