Class RemoveParticipantOptions

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

public final class RemoveParticipantOptions extends Object
The options for removing participants.
  • Constructor Details

    • RemoveParticipantOptions

      public RemoveParticipantOptions(CommunicationIdentifier participant)
      Constructor
      Parameters:
      participant - The list of participants to invite.
  • Method Details

    • getParticipant

      public CommunicationIdentifier getParticipant()
      Get the participants.
      Returns:
      the participant being removed
    • getOperationContext

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

      public String getOperationCallbackUrl()
      Get the overridden call back URL override for operation.
      Returns:
      the operationCallbackUrl
    • setOperationContext

      public RemoveParticipantOptions setOperationContext(String operationContext)
      Set the operationContext.
      Parameters:
      operationContext - the operationContext to set
      Returns:
      the RemoveParticipantOptions object itself.
    • setOperationCallbackUrl

      public RemoveParticipantOptions setOperationCallbackUrl(String operationCallbackUrl)
      Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation. This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
      Parameters:
      operationCallbackUrl - the operationCallbackUrl to set
      Returns:
      the RemoveParticipantOptions object itself.