Class AcsIncomingCallEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsIncomingCallEventData
Schema of the Data property of an EventGridEvent for an Microsoft.Communication.IncomingCall event.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AcsIncomingCallEventData class. -
Method Summary
Modifier and TypeMethodDescriptionGet 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 serverCallId property: The Id of the server call.Get the toCommunicationIdentifier property: The communication identifier of the target user.setCallerDisplayName(String callerDisplayName) Set the callerDisplayName property: Display name of caller.setCorrelationId(String correlationId) Set the correlationId property: CorrelationId (CallId).setCustomContext(AcsIncomingCallCustomContext customContext) Set the customContext property: Custom Context of Incoming Call.setFromCommunicationIdentifier(CommunicationIdentifierModel fromCommunicationIdentifier) Set the fromCommunicationIdentifier property: The communication identifier of the user who initiated the call.setIncomingCallContext(String incomingCallContext) Set the incomingCallContext property: Signed incoming call context.setServerCallId(String serverCallId) Set the serverCallId property: The Id of the server call.setToCommunicationIdentifier(CommunicationIdentifierModel toCommunicationIdentifier) Set the toCommunicationIdentifier property: The communication identifier of the target user.
-
Constructor Details
-
AcsIncomingCallEventData
public AcsIncomingCallEventData()Creates an instance of AcsIncomingCallEventData class.
-
-
Method Details
-
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
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
Get the serverCallId property: The Id of the server call.- Returns:
- the serverCallId value.
-
setServerCallId
Set the serverCallId property: The Id of the server call.- Parameters:
serverCallId- the serverCallId value to set.- Returns:
- the AcsIncomingCallEventData object itself.
-
getCallerDisplayName
Get the callerDisplayName property: Display name of caller.- Returns:
- the callerDisplayName value.
-
setCallerDisplayName
Set the callerDisplayName property: Display name of caller.- Parameters:
callerDisplayName- the callerDisplayName value to set.- Returns:
- the AcsIncomingCallEventData object itself.
-
getCustomContext
Get the customContext property: Custom Context of Incoming Call.- Returns:
- the customContext value.
-
setCustomContext
Set the customContext property: Custom Context of Incoming Call.- Parameters:
customContext- the customContext value to set.- Returns:
- the AcsIncomingCallEventData object itself.
-
getIncomingCallContext
Get the incomingCallContext property: Signed incoming call context.- Returns:
- the incomingCallContext value.
-
setIncomingCallContext
Set the incomingCallContext property: Signed incoming call context.- Parameters:
incomingCallContext- the incomingCallContext value to set.- Returns:
- the AcsIncomingCallEventData object itself.
-
getCorrelationId
Get the correlationId property: CorrelationId (CallId).- Returns:
- the correlationId value.
-
setCorrelationId
Set the correlationId property: CorrelationId (CallId).- Parameters:
correlationId- the correlationId value to set.- Returns:
- the AcsIncomingCallEventData object itself.
-