Partilhar via


GetLanguagesResult Class

Response for the languages API.

Inheritance
azure.ai.translation.text._model_base.Model
GetLanguagesResult

Constructor

GetLanguagesResult(*args: Any, **kwargs: Any)

Variables

Name Description
translation

Languages that support translate API.

transliteration

Languages that support transliteration API.

dictionary

Languages that support dictionary API.

Methods

clear
copy
get
items
keys
pop
popitem
setdefault
update
values

clear

clear() -> None

copy

copy() -> Model

get

get(key: str, default: Any = None) -> Any

Parameters

Name Description
key
Required
default
Default value: None

items

items() -> ItemsView[str, Any]

keys

keys() -> KeysView[str]

pop

pop(key: str, default: ~typing.Any = <object object>) -> Any

Parameters

Name Description
key
Required
default

popitem

popitem() -> Tuple[str, Any]

setdefault

setdefault(key: str, default: ~typing.Any = <object object>) -> Any

Parameters

Name Description
key
Required
default

update

update(*args: Any, **kwargs: Any) -> None

values

values() -> ValuesView[Any]

Attributes

dictionary

Languages that support dictionary API.

dictionary: Dict[str, _models.SourceDictionaryLanguage] | None

translation

Languages that support translate API.

translation: Dict[str, _models.TranslationLanguage] | None

transliteration

Languages that support transliteration API.

transliteration: Dict[str, _models.TransliterationLanguage] | None