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 Details

    • getToCommunicationIdentifier

      public CommunicationIdentifierModel getToCommunicationIdentifier()
      Get the toCommunicationIdentifier property: The communication identifier of the target user.
      Returns:
      the toCommunicationIdentifier value.
    • getFromCommunicationIdentifier

      public CommunicationIdentifierModel getFromCommunicationIdentifier()
      Get the fromCommunicationIdentifier property: The communication identifier of the user who initiated the call.
      Returns:
      the fromCommunicationIdentifier value.
    • getServerCallId

      public String getServerCallId()
      Get the serverCallId property: The Id of the server call.
      Returns:
      the serverCallId value.
    • getCallerDisplayName

      public String getCallerDisplayName()
      Get the callerDisplayName property: Display name of caller.
      Returns:
      the callerDisplayName value.
    • getCustomContext

      public AcsIncomingCallCustomContext getCustomContext()
      Get the customContext property: Custom Context of Incoming Call.
      Returns:
      the customContext value.
    • getIncomingCallContext

      public String getIncomingCallContext()
      Get the incomingCallContext property: Signed incoming call context.
      Returns:
      the incomingCallContext value.
    • getOnBehalfOfCommunicationIdentifier

      public CommunicationIdentifierModel getOnBehalfOfCommunicationIdentifier()
      Get the onBehalfOfCommunicationIdentifier property: The communication identifier of the user on behalf of whom the call is made.
      Returns:
      the onBehalfOfCommunicationIdentifier value.
    • getCorrelationId

      public String getCorrelationId()
      Get the correlationId property: CorrelationId (CallId).
      Returns:
      the correlationId value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.