Class RejectCallOptions
java.lang.Object
com.azure.communication.callautomation.models.RejectCallOptions
The options for creating a call.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the callRejectReasonGet the incomingCallContext.Get the Repeatability headers configuration.setCallRejectReason
(CallRejectReason callRejectReason) Set the callRejectReasonsetRepeatabilityHeaders
(RepeatabilityHeaders repeatabilityHeaders) Set the repeatability headers
-
Constructor Details
-
RejectCallOptions
Constructor- Parameters:
incomingCallContext
- The incoming call context.
-
-
Method Details
-
getIncomingCallContext
Get the incomingCallContext.- Returns:
- the incomingCallContext.
-
getCallRejectReason
Get the callRejectReason- Returns:
- the callRejectReason
-
getRepeatabilityHeaders
Get the Repeatability headers configuration.- Returns:
- the repeatabilityHeaders
-
setCallRejectReason
Set the callRejectReason- Parameters:
callRejectReason
- The callRejectReason- Returns:
- the RejectCallOptions object itself.
-
setRepeatabilityHeaders
Set the repeatability headers- Parameters:
repeatabilityHeaders
- The repeatability headers configuration.- Returns:
- the RejectCallOptions object itself.
-