你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SimSwapVerificationContent Class

Definition

Request to verify SimSwap in period.

public class SimSwapVerificationContent : System.ClientModel.Primitives.IJsonModel<Azure.Communication.ProgrammableConnectivity.SimSwapVerificationContent>, System.ClientModel.Primitives.IPersistableModel<Azure.Communication.ProgrammableConnectivity.SimSwapVerificationContent>
type SimSwapVerificationContent = class
    interface IJsonModel<SimSwapVerificationContent>
    interface IPersistableModel<SimSwapVerificationContent>
Public Class SimSwapVerificationContent
Implements IJsonModel(Of SimSwapVerificationContent), IPersistableModel(Of SimSwapVerificationContent)
Inheritance
SimSwapVerificationContent
Implements

Constructors

SimSwapVerificationContent(NetworkIdentifier)

Initializes a new instance of SimSwapVerificationContent.

Properties

MaxAgeHours

Maximum lookback for SimSwap verification.

NetworkIdentifier

Identifier for the network to query for this device.

PhoneNumber

Phone number in E.164 format (starting with country code), and optionally prefixed with '+'.

Explicit Interface Implementations

IJsonModel<SimSwapVerificationContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SimSwapVerificationContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SimSwapVerificationContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SimSwapVerificationContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SimSwapVerificationContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to