Class CreateGroupCallOptions

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

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

    • CreateGroupCallOptions

      public CreateGroupCallOptions(List<CommunicationIdentifier> targetParticipants, String callbackUrl)
      Constructor
      Parameters:
      targetParticipants - The targets of the call.
      callbackUrl - The call back URI.
  • Method Details

    • getTargetParticipants

      public List<CommunicationIdentifier> getTargetParticipants()
      Get the targets.
      Returns:
      the targets list.
    • getCallbackUrl

      public String getCallbackUrl()
      Get the call back uri.
      Returns:
      the call back uri.
    • getOperationContext

      public String getOperationContext()
      Get the operationContext: A customer set value used to track the answering of a call.
      Returns:
      the operationContext value.
    • getSourceDisplayName

      public String getSourceDisplayName()
      get caller's display name
      Returns:
      display name for caller
    • getSourceCallIdNumber

      public PhoneNumberIdentifier getSourceCallIdNumber()
      get PhoneNumberIdentifier for PSTN caller
      Returns:
      PhoneNumberIdentifier for PSTN caller
    • setOperationContext

      public CreateGroupCallOptions setOperationContext(String operationContext)
      Set the operationContext: A customer set value used to track the answering of a call.
      Parameters:
      operationContext - A customer set value used to track the answering of a call.
      Returns:
      the CreateCallOptions object itself.
    • setSourceDisplayName

      public CreateGroupCallOptions setSourceDisplayName(String sourceDisplayName)
      set display name for caller
      Parameters:
      sourceDisplayName - display name for caller
      Returns:
      the CreateGroupCallOptions object itself
    • setSourceCallIdNumber

      public CreateGroupCallOptions setSourceCallIdNumber(PhoneNumberIdentifier sourceCallIdNumber)
      set PhoneNumberIdentifier for PSTN caller
      Parameters:
      sourceCallIdNumber - PhoneNumberIdentifier for PSTN caller
      Returns:
      the CreateGroupCallOptions object itself
    • getCallIntelligenceOptions

      public CallIntelligenceOptions getCallIntelligenceOptions()
      Get the CallIntelligenceOptions property: AI options for the call such as cognitiveServicesEndpoint
      Returns:
      the callIntelligenceOptions value.
    • setCallIntelligenceOptions

      public CreateGroupCallOptions setCallIntelligenceOptions(CallIntelligenceOptions callIntelligenceOptions)
      Set the CallIntelligenceOptions property: AI options for the call such as cognitiveServicesEndpoint
      Parameters:
      callIntelligenceOptions - the cognitiveServicesEndpoint value to set.
      Returns:
      the CreateGroupCallOptions object itself.