Package com.mypurecloud.sdk.v2.api
Class LanguagesApiAsync
java.lang.Object
com.mypurecloud.sdk.v2.api.LanguagesApiAsync
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeleteLanguageAsync(DeleteLanguageRequest request, AsyncApiCallback<Void> callback) Deprecated.deleteLanguageAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Deprecated.getLanguageAsync(GetLanguageRequest request, AsyncApiCallback<Language> callback) Deprecated.getLanguageAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Language>> callback) Deprecated.getLanguagesAsync(GetLanguagesRequest request, AsyncApiCallback<LanguageEntityListing> callback) Deprecated.getLanguagesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<LanguageEntityListing>> callback) Deprecated.getLanguagesTranslationsAsync(GetLanguagesTranslationsRequest request, AsyncApiCallback<AvailableTranslations> callback) Get all available languages for translationgetLanguagesTranslationsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<AvailableTranslations>> callback) Get all available languages for translationgetLanguagesTranslationsBuiltinAsync(GetLanguagesTranslationsBuiltinRequest request, AsyncApiCallback<Map<String, Object>> callback) Get the builtin translation for a languagegetLanguagesTranslationsBuiltinAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Map<String, Object>>> callback) Get the builtin translation for a languagegetLanguagesTranslationsOrganizationAsync(GetLanguagesTranslationsOrganizationRequest request, AsyncApiCallback<Map<String, Object>> callback) Get effective translation for an organization by languagegetLanguagesTranslationsOrganizationAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Map<String, Object>>> callback) Get effective translation for an organization by languagegetLanguagesTranslationsUserAsync(GetLanguagesTranslationsUserRequest request, AsyncApiCallback<Map<String, Object>> callback) Get effective language translation for a usergetLanguagesTranslationsUserAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Map<String, Object>>> callback) Get effective language translation for a userpostLanguagesAsync(PostLanguagesRequest request, AsyncApiCallback<Language> callback) Deprecated.postLanguagesAsync(ApiRequest<Language> request, AsyncApiCallback<ApiResponse<Language>> callback) Deprecated.
-
Constructor Details
-
LanguagesApiAsync
public LanguagesApiAsync() -
LanguagesApiAsync
-
-
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 objectcallback- 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 objectcallback- 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 objectcallback- 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 objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getLanguagesAsync
public Future<LanguageEntityListing> getLanguagesAsync(GetLanguagesRequest request, AsyncApiCallback<LanguageEntityListing> callback) 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 objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getLanguagesAsync
public Future<ApiResponse<LanguageEntityListing>> getLanguagesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<LanguageEntityListing>> callback) 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 objectcallback- 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 objectcallback- 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 objectcallback- 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 objectcallback- 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 objectcallback- 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 objectcallback- 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 objectcallback- 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 objectcallback- 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 objectcallback- 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 objectcallback- 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 objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-