Class RejectCallOptions

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

public final class RejectCallOptions extends Object
The options for creating a call.
  • Constructor Details

    • RejectCallOptions

      public RejectCallOptions(String incomingCallContext)
      Constructor
      Parameters:
      incomingCallContext - The incoming call context.
  • Method Details

    • getIncomingCallContext

      public String getIncomingCallContext()
      Get the incomingCallContext.
      Returns:
      the incomingCallContext.
    • getCallRejectReason

      public CallRejectReason getCallRejectReason()
      Get the callRejectReason
      Returns:
      the callRejectReason
    • setCallRejectReason

      public RejectCallOptions setCallRejectReason(CallRejectReason callRejectReason)
      Set the callRejectReason
      Parameters:
      callRejectReason - The callRejectReason
      Returns:
      the RejectCallOptions object itself.