Share via


TelephonyPhoneNumbers Class

Definition

A telephone number for the Telephony channel.

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

Constructors

TelephonyPhoneNumbers()

Initializes a new instance of TelephonyPhoneNumbers.

Properties

AcsEndpoint

The endpoint of ACS.

AcsResourceId

The resource id of ACS.

AcsSecret

The secret of ACS.

CognitiveServiceRegion

The service region of cognitive service.

CognitiveServiceResourceId

The resource id of cognitive service.

CognitiveServiceSubscriptionKey

The subscription key of cognitive service.

DefaultLocale

The default locale of the phone number.

Id

The element id.

OfferType

Optional Property that will determine the offering type of the phone.

PhoneNumber

The phone number.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<TelephonyPhoneNumbers>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TelephonyPhoneNumbers>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TelephonyPhoneNumbers>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TelephonyPhoneNumbers>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TelephonyPhoneNumbers>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to