Class CancelAddParticipantOperationOptions

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

public final class CancelAddParticipantOperationOptions extends Object
The options for cancelling add participant.
  • Constructor Details

    • CancelAddParticipantOperationOptions

      public CancelAddParticipantOperationOptions(String invitationId)
      Constructor
      Parameters:
      invitationId - The inviation ID used to cancel the add participant request.
  • Method Details

    • getInvitationId

      public String getInvitationId()
      Get the invitationId.
      Returns:
      invitationId
    • 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 CancelAddParticipantOperationOptions setOperationContext(String operationContext)
      Set the operationContext.
      Parameters:
      operationContext - the operationContext to set
      Returns:
      the CancelAddParticipantOptions object itself.
    • setOperationCallbackUrl

      public CancelAddParticipantOperationOptions 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 CancelAddParticipantOptions object itself.