Class TransferToParticipantCallOptions

java.lang.Object
com.azure.communication.callautomation.models.TransferToParticipantCallOptions

public class TransferToParticipantCallOptions extends Object
The options for adding participants.
  • Constructor Details

    • TransferToParticipantCallOptions

      public TransferToParticipantCallOptions(com.azure.communication.common.CommunicationIdentifier targetParticipant)
      Constructor
      Parameters:
      targetParticipant - A CommunicationIdentifier 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

      public String getOperationContext()
      Get the operationContext.
      Returns:
      the operationContext
    • getTransfereeCallerId

      public com.azure.communication.common.PhoneNumberIdentifier getTransfereeCallerId()
      Get the transfereeCallerId.
      Returns:
      the transfereeCallerId.
    • getRepeatabilityHeaders

      public RepeatabilityHeaders getRepeatabilityHeaders()
      Get the Repeatability headers configuration.
      Returns:
      the repeatabilityHeaders
    • setOperationContext

      public TransferToParticipantCallOptions setOperationContext(String operationContext)
      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 - A PhoneNumberIdentifier 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.