Class AcsIncomingCallEventData

java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsIncomingCallEventData

public final class AcsIncomingCallEventData extends Object
Schema of the Data property of an EventGridEvent for an Microsoft.Communication.IncomingCall event.
  • Constructor Details

    • AcsIncomingCallEventData

      public AcsIncomingCallEventData()
      Creates an instance of AcsIncomingCallEventData class.
  • Method Details

    • getToCommunicationIdentifier

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

      public AcsIncomingCallEventData setToCommunicationIdentifier(CommunicationIdentifierModel toCommunicationIdentifier)
      Set the toCommunicationIdentifier property: The communication identifier of the target user.
      Parameters:
      toCommunicationIdentifier - the toCommunicationIdentifier value to set.
      Returns:
      the AcsIncomingCallEventData object itself.
    • getFromCommunicationIdentifier

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

      public AcsIncomingCallEventData setFromCommunicationIdentifier(CommunicationIdentifierModel fromCommunicationIdentifier)
      Set the fromCommunicationIdentifier property: The communication identifier of the user who initiated the call.
      Parameters:
      fromCommunicationIdentifier - the fromCommunicationIdentifier value to set.
      Returns:
      the AcsIncomingCallEventData object itself.
    • getServerCallId

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

      public AcsIncomingCallEventData setServerCallId(String serverCallId)
      Set the serverCallId property: The Id of the server call.
      Parameters:
      serverCallId - the serverCallId value to set.
      Returns:
      the AcsIncomingCallEventData object itself.
    • getCallerDisplayName

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

      public AcsIncomingCallEventData setCallerDisplayName(String callerDisplayName)
      Set the callerDisplayName property: Display name of caller.
      Parameters:
      callerDisplayName - the callerDisplayName value to set.
      Returns:
      the AcsIncomingCallEventData object itself.
    • getCustomContext

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

      public AcsIncomingCallEventData setCustomContext(AcsIncomingCallCustomContext customContext)
      Set the customContext property: Custom Context of Incoming Call.
      Parameters:
      customContext - the customContext value to set.
      Returns:
      the AcsIncomingCallEventData object itself.
    • getIncomingCallContext

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

      public AcsIncomingCallEventData setIncomingCallContext(String incomingCallContext)
      Set the incomingCallContext property: Signed incoming call context.
      Parameters:
      incomingCallContext - the incomingCallContext value to set.
      Returns:
      the AcsIncomingCallEventData object itself.
    • getCorrelationId

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

      public AcsIncomingCallEventData setCorrelationId(String correlationId)
      Set the correlationId property: CorrelationId (CallId).
      Parameters:
      correlationId - the correlationId value to set.
      Returns:
      the AcsIncomingCallEventData object itself.