Class AgentCopilotApi

java.lang.Object
com.mypurecloud.sdk.v2.api.AgentCopilotApi

public class AgentCopilotApi extends Object
  • Constructor Details

    • AgentCopilotApi

      public AgentCopilotApi()
    • AgentCopilotApi

      public AgentCopilotApi(ApiClient apiClient)
  • Method Details

    • getAssistantCopilot

      public Copilot getAssistantCopilot(String assistantId) throws IOException, ApiException
      Get copilot configuration of an assistant.
      Parameters:
      assistantId - Assistant ID (required)
      Returns:
      Copilot
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getAssistantCopilotWithHttpInfo

      public ApiResponse<Copilot> getAssistantCopilotWithHttpInfo(String assistantId) throws IOException
      Get copilot configuration of an assistant.
      Parameters:
      assistantId - Assistant ID (required)
      Returns:
      Copilot
      Throws:
      IOException - if the request fails to be processed
    • getAssistantCopilot

      public Copilot getAssistantCopilot(GetAssistantCopilotRequest request) throws IOException, ApiException
      Get copilot configuration of an assistant.
      Parameters:
      request - The request object
      Returns:
      Copilot
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getAssistantCopilot

      public ApiResponse<Copilot> getAssistantCopilot(ApiRequest<Void> request) throws IOException
      Get copilot configuration of an assistant.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getAssistantsCopilotFeaturesupport

      public LanguageSupportResponse getAssistantsCopilotFeaturesupport(String language) throws IOException, ApiException
      Get information about the support of features for all the languages or only for a certain language.
      Parameters:
      language - Which language are the features supported for (optional)
      Returns:
      LanguageSupportResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getAssistantsCopilotFeaturesupportWithHttpInfo

      public ApiResponse<LanguageSupportResponse> getAssistantsCopilotFeaturesupportWithHttpInfo(String language) throws IOException
      Get information about the support of features for all the languages or only for a certain language.
      Parameters:
      language - Which language are the features supported for (optional)
      Returns:
      LanguageSupportResponse
      Throws:
      IOException - if the request fails to be processed
    • getAssistantsCopilotFeaturesupport

      public LanguageSupportResponse getAssistantsCopilotFeaturesupport(GetAssistantsCopilotFeaturesupportRequest request) throws IOException, ApiException
      Get information about the support of features for all the languages or only for a certain language.
      Parameters:
      request - The request object
      Returns:
      LanguageSupportResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getAssistantsCopilotFeaturesupport

      public ApiResponse<LanguageSupportResponse> getAssistantsCopilotFeaturesupport(ApiRequest<Void> request) throws IOException
      Get information about the support of features for all the languages or only for a certain language.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • putAssistantCopilot

      public Copilot putAssistantCopilot(String assistantId, Copilot body) throws IOException, ApiException
      Update agent copilot configuration
      Parameters:
      assistantId - Assistant ID (required)
      body - (required)
      Returns:
      Copilot
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putAssistantCopilotWithHttpInfo

      public ApiResponse<Copilot> putAssistantCopilotWithHttpInfo(String assistantId, Copilot body) throws IOException
      Update agent copilot configuration
      Parameters:
      assistantId - Assistant ID (required)
      body - (required)
      Returns:
      Copilot
      Throws:
      IOException - if the request fails to be processed
    • putAssistantCopilot

      public Copilot putAssistantCopilot(PutAssistantCopilotRequest request) throws IOException, ApiException
      Update agent copilot configuration
      Parameters:
      request - The request object
      Returns:
      Copilot
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putAssistantCopilot

      public ApiResponse<Copilot> putAssistantCopilot(ApiRequest<Copilot> request) throws IOException
      Update agent copilot configuration
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed