Compartir a través de


PhoneNumberIdentifierModel Class

  • java.lang.Object
    • com.azure.messaging.eventgrid.systemevents.PhoneNumberIdentifierModel

Implements

public final class PhoneNumberIdentifierModel
implements JsonSerializable<PhoneNumberIdentifierModel>

A phone number.

Method Summary

Modifier and Type Method and Description
static PhoneNumberIdentifierModel fromJson(JsonReader jsonReader)

Reads an instance of PhoneNumberIdentifierModel from the JsonReader.

String getValue()

Get the value property: The phone number in E.164 format.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static PhoneNumberIdentifierModel fromJson(JsonReader jsonReader)

Reads an instance of PhoneNumberIdentifierModel from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PhoneNumberIdentifierModel if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getValue

public String getValue()

Get the value property: The phone number in E.164 format.

Returns:

the value value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to