Package com.mypurecloud.sdk.v2.api
Class AgentCopilotApi
java.lang.Object
com.mypurecloud.sdk.v2.api.AgentCopilotApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet copilot configuration of an assistant.getAssistantCopilot(ApiRequest<Void> request) Get copilot configuration of an assistant.getAssistantCopilot(String assistantId) Get copilot configuration of an assistant.getAssistantCopilotWithHttpInfo(String assistantId) Get copilot configuration of an assistant.Get information about the support of features for all the languages or only for a certain language.getAssistantsCopilotFeaturesupport(ApiRequest<Void> request) Get information about the support of features for all the languages or only for a certain language.getAssistantsCopilotFeaturesupport(String language) Get information about the support of features for all the languages or only for a certain language.Get information about the support of features for all the languages or only for a certain language.Update agent copilot configurationputAssistantCopilot(ApiRequest<Copilot> request) Update agent copilot configurationputAssistantCopilot(String assistantId, Copilot body) Update agent copilot configurationputAssistantCopilotWithHttpInfo(String assistantId, Copilot body) Update agent copilot configuration
-
Constructor Details
-
AgentCopilotApi
public AgentCopilotApi() -
AgentCopilotApi
-
-
Method Details
-
getAssistantCopilot
Get copilot configuration of an assistant.- Parameters:
assistantId- Assistant ID (required)- Returns:
- Copilot
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getAssistantCopilotWithHttpInfo
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 serverIOException- if the request fails to be processed
-
getAssistantCopilot
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 serverIOException- 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 serverIOException- 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 serverIOException- 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 serverIOException- if the request fails to be processed
-
putAssistantCopilot
Update agent copilot configuration- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-