Class TransferToParticipantCallOptions
java.lang.Object
com.azure.communication.callautomation.models.TransferToParticipantCallOptions
The options for adding participants.
-
Constructor Summary
ConstructorDescriptionTransferToParticipantCallOptions
(com.azure.communication.common.CommunicationIdentifier targetParticipant) Constructor -
Method Summary
Modifier and TypeMethodDescriptionGet the operationContext.Get the Repeatability headers configuration.com.azure.communication.common.CommunicationIdentifier
Get the target participant.com.azure.communication.common.PhoneNumberIdentifier
Get the transfereeCallerId.setOperationContext
(String operationContext) Set the operationContext.setRepeatabilityHeaders
(RepeatabilityHeaders repeatabilityHeaders) Set the repeatability headerssetSourceCallerId
(com.azure.communication.common.PhoneNumberIdentifier transfereeCallerId) Set the transfereeCallerId.
-
Constructor Details
-
TransferToParticipantCallOptions
public TransferToParticipantCallOptions(com.azure.communication.common.CommunicationIdentifier targetParticipant) Constructor- Parameters:
targetParticipant
- ACommunicationIdentifier
representing the target participant of this transfer.
-
-
Method Details
-
getTargetParticipant
public com.azure.communication.common.CommunicationIdentifier getTargetParticipant()Get the target participant.- Returns:
- the target participant.
-
getOperationContext
Get the operationContext.- Returns:
- the operationContext
-
getTransfereeCallerId
public com.azure.communication.common.PhoneNumberIdentifier getTransfereeCallerId()Get the transfereeCallerId.- Returns:
- the transfereeCallerId.
-
getRepeatabilityHeaders
Get the Repeatability headers configuration.- Returns:
- the repeatabilityHeaders
-
setOperationContext
Set the operationContext.- Parameters:
operationContext
- the operationContext to set- Returns:
- the TransferToParticipantCallOptions object itself.
-
setSourceCallerId
public TransferToParticipantCallOptions setSourceCallerId(com.azure.communication.common.PhoneNumberIdentifier transfereeCallerId) Set the transfereeCallerId.- Parameters:
transfereeCallerId
- APhoneNumberIdentifier
representing the caller ID of the transferee if transferring to a pstn number.- Returns:
- the TransferToParticipantCallOptions object itself.
-
setRepeatabilityHeaders
public TransferToParticipantCallOptions setRepeatabilityHeaders(RepeatabilityHeaders repeatabilityHeaders) Set the repeatability headers- Parameters:
repeatabilityHeaders
- The repeatability headers configuration.- Returns:
- the TransferToParticipantCallOptions object itself.
-