Class SettingsApi

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

public class SettingsApi extends Object
  • Constructor Details

    • SettingsApi

      public SettingsApi()
    • SettingsApi

      public SettingsApi(ApiClient apiClient)
  • Method Details

    • getEmailsSettings

      public EmailSettings getEmailsSettings() throws IOException, ApiException
      Get email Contact Center settings
      Returns:
      EmailSettings
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getEmailsSettingsWithHttpInfo

      public ApiResponse<EmailSettings> getEmailsSettingsWithHttpInfo() throws IOException
      Get email Contact Center settings
      Returns:
      EmailSettings
      Throws:
      IOException - if the request fails to be processed
    • getEmailsSettings

      public EmailSettings getEmailsSettings(GetEmailsSettingsRequest request) throws IOException, ApiException
      Get email Contact Center settings
      Parameters:
      request - The request object
      Returns:
      EmailSettings
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getEmailsSettings

      public ApiResponse<EmailSettings> getEmailsSettings(ApiRequest<Void> request) throws IOException
      Get email Contact Center settings
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getSettingsExecutiondata

      public ExecutionDataGlobalSettingsResponse getSettingsExecutiondata() throws IOException, ApiException
      Get the execution history enabled setting. Get the execution history enabled setting. getSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Returns:
      ExecutionDataGlobalSettingsResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getSettingsExecutiondataWithHttpInfo

      public ApiResponse<ExecutionDataGlobalSettingsResponse> getSettingsExecutiondataWithHttpInfo() throws IOException
      Get the execution history enabled setting. Get the execution history enabled setting. getSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Returns:
      ExecutionDataGlobalSettingsResponse
      Throws:
      IOException - if the request fails to be processed
    • getSettingsExecutiondata

      Get the execution history enabled setting. Get the execution history enabled setting. getSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      ExecutionDataGlobalSettingsResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getSettingsExecutiondata

      public ApiResponse<ExecutionDataGlobalSettingsResponse> getSettingsExecutiondata(ApiRequest<Void> request) throws IOException
      Get the execution history enabled setting. Get the execution history enabled setting. getSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • patchEmailsSettings

      public EmailSettings patchEmailsSettings(EmailSettings body) throws IOException, ApiException
      Patch email Contact Center settings
      Parameters:
      body - (optional)
      Returns:
      EmailSettings
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchEmailsSettingsWithHttpInfo

      public ApiResponse<EmailSettings> patchEmailsSettingsWithHttpInfo(EmailSettings body) throws IOException
      Patch email Contact Center settings
      Parameters:
      body - (optional)
      Returns:
      EmailSettings
      Throws:
      IOException - if the request fails to be processed
    • patchEmailsSettings

      public EmailSettings patchEmailsSettings(PatchEmailsSettingsRequest request) throws IOException, ApiException
      Patch email Contact Center settings
      Parameters:
      request - The request object
      Returns:
      EmailSettings
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchEmailsSettings

      public ApiResponse<EmailSettings> patchEmailsSettings(ApiRequest<EmailSettings> request) throws IOException
      Patch email Contact Center settings
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • patchSettingsExecutiondata

      Edit the execution history on off setting. Edit the execution history on off setting. patchSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      body - New Execution Data Setting (required)
      Returns:
      ExecutionDataGlobalSettingsResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchSettingsExecutiondataWithHttpInfo

      public ApiResponse<ExecutionDataGlobalSettingsResponse> patchSettingsExecutiondataWithHttpInfo(ExecutionDataSettingsRequest body) throws IOException
      Edit the execution history on off setting. Edit the execution history on off setting. patchSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      body - New Execution Data Setting (required)
      Returns:
      ExecutionDataGlobalSettingsResponse
      Throws:
      IOException - if the request fails to be processed
    • patchSettingsExecutiondata

      Edit the execution history on off setting. Edit the execution history on off setting. patchSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      ExecutionDataGlobalSettingsResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchSettingsExecutiondata

      Edit the execution history on off setting. Edit the execution history on off setting. patchSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed