CancelAddParticipantOperationOptions Class

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

public final class CancelAddParticipantOperationOptions

The options for cancelling add participant.

Constructor Summary

Constructor Description
CancelAddParticipantOperationOptions(String invitationId)

Constructor

Method Summary

Modifier and Type Method and Description
String getInvitationId()

Get the invitationId.

String getOperationCallbackUrl()

Get the overridden call back URL override for operation.

String getOperationContext()

Get the operationContext.

CancelAddParticipantOperationOptions setOperationCallbackUrl(String operationCallbackUrl)

Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.

CancelAddParticipantOperationOptions setOperationContext(String operationContext)

Set the operationContext.

Methods inherited from java.lang.Object

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

getOperationCallbackUrl

public String getOperationCallbackUrl()

Get the overridden call back URL override for operation.

Returns:

the operationCallbackUrl

getOperationContext

public String getOperationContext()

Get the operationContext.

Returns:

the operationContext

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.

setOperationContext

public CancelAddParticipantOperationOptions setOperationContext(String operationContext)

Set the operationContext.

Parameters:

operationContext - the operationContext to set

Returns:

the CancelAddParticipantOptions object itself.

Applies to