Class LanguagesApiAsync

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

public class LanguagesApiAsync extends Object
  • Constructor Details

    • LanguagesApiAsync

      public LanguagesApiAsync()
    • LanguagesApiAsync

      public LanguagesApiAsync(ApiClient apiClient)
  • Method Details

    • deleteLanguageAsync

      public Future<Void> deleteLanguageAsync(DeleteLanguageRequest request, AsyncApiCallback<Void> callback)
      Deprecated.
      Delete Language (Deprecated) This endpoint is deprecated. Please see the Routing API (DELETE /api/v2/routing/languages/{languageId})
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • deleteLanguageAsync

      public Future<ApiResponse<Void>> deleteLanguageAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback)
      Deprecated.
      Delete Language (Deprecated) This endpoint is deprecated. Please see the Routing API (DELETE /api/v2/routing/languages/{languageId})
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getLanguageAsync

      public Future<Language> getLanguageAsync(GetLanguageRequest request, AsyncApiCallback<Language> callback)
      Deprecated.
      Get Language (Deprecated) This endpoint is deprecated. Please see the Routing API (GET /api/v2/routing/languages/{languageId})
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getLanguageAsync

      public Future<ApiResponse<Language>> getLanguageAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Language>> callback)
      Deprecated.
      Get Language (Deprecated) This endpoint is deprecated. Please see the Routing API (GET /api/v2/routing/languages/{languageId})
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getLanguagesAsync

      Deprecated.
      Get the list of supported languages. (Deprecated) This endpoint is deprecated. Please see the Routing API (GET /api/v2/routing/languages)
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getLanguagesAsync

      Deprecated.
      Get the list of supported languages. (Deprecated) This endpoint is deprecated. Please see the Routing API (GET /api/v2/routing/languages)
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getLanguagesTranslationsAsync

      public Future<AvailableTranslations> getLanguagesTranslationsAsync(GetLanguagesTranslationsRequest request, AsyncApiCallback<AvailableTranslations> callback)
      Get all available languages for translation
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getLanguagesTranslationsAsync

      public Future<ApiResponse<AvailableTranslations>> getLanguagesTranslationsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<AvailableTranslations>> callback)
      Get all available languages for translation
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getLanguagesTranslationsBuiltinAsync

      public Future<Map<String,Object>> getLanguagesTranslationsBuiltinAsync(GetLanguagesTranslationsBuiltinRequest request, AsyncApiCallback<Map<String,Object>> callback)
      Get the builtin translation for a language
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getLanguagesTranslationsBuiltinAsync

      public Future<ApiResponse<Map<String,Object>>> getLanguagesTranslationsBuiltinAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Map<String,Object>>> callback)
      Get the builtin translation for a language
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getLanguagesTranslationsOrganizationAsync

      public Future<Map<String,Object>> getLanguagesTranslationsOrganizationAsync(GetLanguagesTranslationsOrganizationRequest request, AsyncApiCallback<Map<String,Object>> callback)
      Get effective translation for an organization by language
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getLanguagesTranslationsOrganizationAsync

      public Future<ApiResponse<Map<String,Object>>> getLanguagesTranslationsOrganizationAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Map<String,Object>>> callback)
      Get effective translation for an organization by language
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getLanguagesTranslationsUserAsync

      public Future<Map<String,Object>> getLanguagesTranslationsUserAsync(GetLanguagesTranslationsUserRequest request, AsyncApiCallback<Map<String,Object>> callback)
      Get effective language translation for a user
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getLanguagesTranslationsUserAsync

      public Future<ApiResponse<Map<String,Object>>> getLanguagesTranslationsUserAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Map<String,Object>>> callback)
      Get effective language translation for a user
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • postLanguagesAsync

      public Future<Language> postLanguagesAsync(PostLanguagesRequest request, AsyncApiCallback<Language> callback)
      Deprecated.
      Create Language (Deprecated) This endpoint is deprecated. Please see the Routing API. (POST /api/v2/routing/languages
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • postLanguagesAsync

      public Future<ApiResponse<Language>> postLanguagesAsync(ApiRequest<Language> request, AsyncApiCallback<ApiResponse<Language>> callback)
      Deprecated.
      Create Language (Deprecated) This endpoint is deprecated. Please see the Routing API. (POST /api/v2/routing/languages
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed