Class AcsIncomingCallEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsIncomingCallEventData
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AcsIncomingCallEventData>
public final class AcsIncomingCallEventData
extends Object
implements com.azure.json.JsonSerializable<AcsIncomingCallEventData>
Schema of the Data property of an EventGridEvent for an Microsoft.Communication.IncomingCall event.
-
Method Summary
Modifier and TypeMethodDescriptionstatic AcsIncomingCallEventDatafromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AcsIncomingCallEventData from the JsonReader.Get the callerDisplayName property: Display name of caller.Get the correlationId property: CorrelationId (CallId).Get the customContext property: Custom Context of Incoming Call.Get the fromCommunicationIdentifier property: The communication identifier of the user who initiated the call.Get the incomingCallContext property: Signed incoming call context.Get the onBehalfOfCommunicationIdentifier property: The communication identifier of the user on behalf of whom the call is made.Get the serverCallId property: The Id of the server call.Get the toCommunicationIdentifier property: The communication identifier of the target user.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getToCommunicationIdentifier
Get the toCommunicationIdentifier property: The communication identifier of the target user.- Returns:
- the toCommunicationIdentifier value.
-
getFromCommunicationIdentifier
Get the fromCommunicationIdentifier property: The communication identifier of the user who initiated the call.- Returns:
- the fromCommunicationIdentifier value.
-
getServerCallId
Get the serverCallId property: The Id of the server call.- Returns:
- the serverCallId value.
-
getCallerDisplayName
Get the callerDisplayName property: Display name of caller.- Returns:
- the callerDisplayName value.
-
getCustomContext
Get the customContext property: Custom Context of Incoming Call.- Returns:
- the customContext value.
-
getIncomingCallContext
Get the incomingCallContext property: Signed incoming call context.- Returns:
- the incomingCallContext value.
-
getOnBehalfOfCommunicationIdentifier
Get the onBehalfOfCommunicationIdentifier property: The communication identifier of the user on behalf of whom the call is made.- Returns:
- the onBehalfOfCommunicationIdentifier value.
-
getCorrelationId
Get the correlationId property: CorrelationId (CallId).- Returns:
- the correlationId value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AcsIncomingCallEventData>- Throws:
IOException
-
fromJson
public static AcsIncomingCallEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AcsIncomingCallEventData from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AcsIncomingCallEventData if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the AcsIncomingCallEventData.
-