Package com.mypurecloud.sdk.v2.api
Class LanguagesApi
java.lang.Object
com.mypurecloud.sdk.v2.api.LanguagesApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteLanguage(DeleteLanguageRequest request) Deprecated.deleteLanguage(ApiRequest<Void> request) Deprecated.voiddeleteLanguage(String languageId) Deprecated.deleteLanguageWithHttpInfo(String languageId) Deprecated.getLanguage(GetLanguageRequest request) Deprecated.getLanguage(ApiRequest<Void> request) Deprecated.getLanguage(String languageId) Deprecated.getLanguages(GetLanguagesRequest request) Deprecated.getLanguages(ApiRequest<Void> request) Deprecated.getLanguages(Integer pageSize, Integer pageNumber, String sortOrder, String name) Deprecated.Get all available languages for translationGet all available languages for translationgetLanguagesTranslations(ApiRequest<Void> request) Get all available languages for translationGet the builtin translation for a languagegetLanguagesTranslationsBuiltin(ApiRequest<Void> request) Get the builtin translation for a languagegetLanguagesTranslationsBuiltin(String language) Get the builtin translation for a languageGet the builtin translation for a languageGet effective translation for an organization by languageGet effective translation for an organization by languagegetLanguagesTranslationsOrganization(String language) Get effective translation for an organization by languageGet effective translation for an organization by languageGet effective language translation for a usergetLanguagesTranslationsUser(ApiRequest<Void> request) Get effective language translation for a usergetLanguagesTranslationsUser(String userId) Get effective language translation for a userGet effective language translation for a userGet all available languages for translationgetLanguagesWithHttpInfo(Integer pageSize, Integer pageNumber, String sortOrder, String name) Deprecated.getLanguageWithHttpInfo(String languageId) Deprecated.postLanguages(PostLanguagesRequest request) Deprecated.postLanguages(ApiRequest<Language> request) Deprecated.postLanguages(Language body) Deprecated.Deprecated.
-
Constructor Details
-
LanguagesApi
public LanguagesApi() -
LanguagesApi
-
-
Method Details
-
deleteLanguage
Deprecated.Delete Language (Deprecated) This endpoint is deprecated. Please see the Routing API (DELETE /api/v2/routing/languages/{languageId})- Parameters:
languageId- Language ID (required)- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteLanguageWithHttpInfo
Deprecated.Delete Language (Deprecated) This endpoint is deprecated. Please see the Routing API (DELETE /api/v2/routing/languages/{languageId})- Parameters:
languageId- Language ID (required)- Throws:
IOException- if the request fails to be processed
-
deleteLanguage
Deprecated.Delete Language (Deprecated) This endpoint is deprecated. Please see the Routing API (DELETE /api/v2/routing/languages/{languageId})- Parameters:
request- The request object- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteLanguage
Deprecated.Delete Language (Deprecated) This endpoint is deprecated. Please see the Routing API (DELETE /api/v2/routing/languages/{languageId})- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getLanguage
Deprecated.Get Language (Deprecated) This endpoint is deprecated. Please see the Routing API (GET /api/v2/routing/languages/{languageId})- Parameters:
languageId- Language ID (required)- Returns:
- Language
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getLanguageWithHttpInfo
Deprecated.Get Language (Deprecated) This endpoint is deprecated. Please see the Routing API (GET /api/v2/routing/languages/{languageId})- Parameters:
languageId- Language ID (required)- Returns:
- Language
- Throws:
IOException- if the request fails to be processed
-
getLanguage
Deprecated.Get Language (Deprecated) This endpoint is deprecated. Please see the Routing API (GET /api/v2/routing/languages/{languageId})- Parameters:
request- The request object- Returns:
- Language
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getLanguage
Deprecated.Get Language (Deprecated) This endpoint is deprecated. Please see the Routing API (GET /api/v2/routing/languages/{languageId})- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getLanguages
public LanguageEntityListing getLanguages(Integer pageSize, Integer pageNumber, String sortOrder, String name) throws IOException, ApiException Deprecated.Get the list of supported languages. (Deprecated) This endpoint is deprecated. Please see the Routing API (GET /api/v2/routing/languages)- Parameters:
pageSize- Page size (optional, default to 25)pageNumber- Page number (optional, default to 1)sortOrder- Ascending or descending sort order (optional, default to ASC)name- Name (optional)- Returns:
- LanguageEntityListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getLanguagesWithHttpInfo
public ApiResponse<LanguageEntityListing> getLanguagesWithHttpInfo(Integer pageSize, Integer pageNumber, String sortOrder, String name) throws IOException Deprecated.Get the list of supported languages. (Deprecated) This endpoint is deprecated. Please see the Routing API (GET /api/v2/routing/languages)- Parameters:
pageSize- Page size (optional, default to 25)pageNumber- Page number (optional, default to 1)sortOrder- Ascending or descending sort order (optional, default to ASC)name- Name (optional)- Returns:
- LanguageEntityListing
- Throws:
IOException- if the request fails to be processed
-
getLanguages
public LanguageEntityListing getLanguages(GetLanguagesRequest request) throws IOException, ApiException 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- Returns:
- LanguageEntityListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getLanguages
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- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getLanguagesTranslations
Get all available languages for translation- Returns:
- AvailableTranslations
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getLanguagesTranslationsWithHttpInfo
Get all available languages for translation- Returns:
- AvailableTranslations
- Throws:
IOException- if the request fails to be processed
-
getLanguagesTranslations
public AvailableTranslations getLanguagesTranslations(GetLanguagesTranslationsRequest request) throws IOException, ApiException Get all available languages for translation- Parameters:
request- The request object- Returns:
- AvailableTranslations
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getLanguagesTranslations
public ApiResponse<AvailableTranslations> getLanguagesTranslations(ApiRequest<Void> request) throws IOException Get all available languages for translation- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getLanguagesTranslationsBuiltin
public Map<String,Object> getLanguagesTranslationsBuiltin(String language) throws IOException, ApiException Get the builtin translation for a language- Parameters:
language- The language of the builtin translation to retrieve (required)- Returns:
- Map<String, Object>
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getLanguagesTranslationsBuiltinWithHttpInfo
public ApiResponse<Map<String,Object>> getLanguagesTranslationsBuiltinWithHttpInfo(String language) throws IOException Get the builtin translation for a language- Parameters:
language- The language of the builtin translation to retrieve (required)- Returns:
- Map<String, Object>
- Throws:
IOException- if the request fails to be processed
-
getLanguagesTranslationsBuiltin
public Map<String,Object> getLanguagesTranslationsBuiltin(GetLanguagesTranslationsBuiltinRequest request) throws IOException, ApiException Get the builtin translation for a language- Parameters:
request- The request object- Returns:
- Map<String, Object>
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getLanguagesTranslationsBuiltin
public ApiResponse<Map<String,Object>> getLanguagesTranslationsBuiltin(ApiRequest<Void> request) throws IOException Get the builtin translation for a language- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getLanguagesTranslationsOrganization
public Map<String,Object> getLanguagesTranslationsOrganization(String language) throws IOException, ApiException Get effective translation for an organization by language- Parameters:
language- The language of the translation to retrieve for the organization (required)- Returns:
- Map<String, Object>
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getLanguagesTranslationsOrganizationWithHttpInfo
public ApiResponse<Map<String,Object>> getLanguagesTranslationsOrganizationWithHttpInfo(String language) throws IOException Get effective translation for an organization by language- Parameters:
language- The language of the translation to retrieve for the organization (required)- Returns:
- Map<String, Object>
- Throws:
IOException- if the request fails to be processed
-
getLanguagesTranslationsOrganization
public Map<String,Object> getLanguagesTranslationsOrganization(GetLanguagesTranslationsOrganizationRequest request) throws IOException, ApiException Get effective translation for an organization by language- Parameters:
request- The request object- Returns:
- Map<String, Object>
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getLanguagesTranslationsOrganization
public ApiResponse<Map<String,Object>> getLanguagesTranslationsOrganization(ApiRequest<Void> request) throws IOException Get effective translation for an organization by language- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getLanguagesTranslationsUser
public Map<String,Object> getLanguagesTranslationsUser(String userId) throws IOException, ApiException Get effective language translation for a user- Parameters:
userId- The user id (required)- Returns:
- Map<String, Object>
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getLanguagesTranslationsUserWithHttpInfo
public ApiResponse<Map<String,Object>> getLanguagesTranslationsUserWithHttpInfo(String userId) throws IOException Get effective language translation for a user- Parameters:
userId- The user id (required)- Returns:
- Map<String, Object>
- Throws:
IOException- if the request fails to be processed
-
getLanguagesTranslationsUser
public Map<String,Object> getLanguagesTranslationsUser(GetLanguagesTranslationsUserRequest request) throws IOException, ApiException Get effective language translation for a user- Parameters:
request- The request object- Returns:
- Map<String, Object>
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getLanguagesTranslationsUser
public ApiResponse<Map<String,Object>> getLanguagesTranslationsUser(ApiRequest<Void> request) throws IOException Get effective language translation for a user- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postLanguages
Deprecated.Create Language (Deprecated) This endpoint is deprecated. Please see the Routing API. (POST /api/v2/routing/languages- Parameters:
body- Language (required)- Returns:
- Language
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postLanguagesWithHttpInfo
Deprecated.Create Language (Deprecated) This endpoint is deprecated. Please see the Routing API. (POST /api/v2/routing/languages- Parameters:
body- Language (required)- Returns:
- Language
- Throws:
IOException- if the request fails to be processed
-
postLanguages
Deprecated.Create Language (Deprecated) This endpoint is deprecated. Please see the Routing API. (POST /api/v2/routing/languages- Parameters:
request- The request object- Returns:
- Language
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postLanguages
Deprecated.Create Language (Deprecated) This endpoint is deprecated. Please see the Routing API. (POST /api/v2/routing/languages- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-