CommunicationUserIdentifierModel Class

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

Implements

public final class CommunicationUserIdentifierModel
implements JsonSerializable<CommunicationUserIdentifierModel>

A user that got created with an Azure Communication Services resource.

Constructor Summary

Constructor Description
CommunicationUserIdentifierModel()

Creates an instance of CommunicationUserIdentifierModel class.

Method Summary

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

Reads an instance of CommunicationUserIdentifierModel from the JsonReader.

String getId()

Get the id property: The Id of the communication user.

CommunicationUserIdentifierModel setId(String id)

Set the id property: The Id of the communication user.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

CommunicationUserIdentifierModel

public CommunicationUserIdentifierModel()

Creates an instance of CommunicationUserIdentifierModel class.

Method Details

fromJson

public static CommunicationUserIdentifierModel fromJson(JsonReader jsonReader)

Reads an instance of CommunicationUserIdentifierModel from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CommunicationUserIdentifierModel 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.

getId

public String getId()

Get the id property: The Id of the communication user.

Returns:

the id value.

setId

public CommunicationUserIdentifierModel setId(String id)

Set the id property: The Id of the communication user.

Parameters:

id - the id value to set.

Returns:

the CommunicationUserIdentifierModel object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to