GetSupportedLanguagesResult Class
- java.
lang. Object - com.
azure. ai. translation. text. models. GetSupportedLanguagesResult
- com.
Implements
public final class GetSupportedLanguagesResult
implements JsonSerializable<GetSupportedLanguagesResult>
Response for the languages API.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Get |
fromJson(JsonReader jsonReader)
Reads an instance of Get |
| List<String> |
getModels()
Get the models property: LLM models supported. |
|
Map<String,Translation |
getTranslation()
Get the translation property: Languages that support translate API. |
|
Map<String,Transliteration |
getTransliteration()
Get the transliteration property: Languages that support transliteration API. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static GetSupportedLanguagesResult fromJson(JsonReader jsonReader)
Reads an instance of GetSupportedLanguagesResult from the JsonReader.
Parameters:
Returns:
Throws:
getModels
public List<String> getModels()
Get the models property: LLM models supported.
Returns:
getTranslation
public Map<String,TranslationLanguage> getTranslation()
Get the translation property: Languages that support translate API.
Returns:
getTransliteration
public Map<String,TransliterationLanguage> getTransliteration()
Get the transliteration property: Languages that support transliteration API.
Returns: