LanguageMapping¶
- class oci.oda.models.LanguageMapping(**kwargs)¶
Bases:
objectA natural language mapping.
Methods:
__init__(**kwargs)Initializes a new LanguageMapping object with values from keyword arguments.
Attributes:
[Required] Gets the language_tag of this LanguageMapping.
[Required] Gets the names of this LanguageMapping.
[Required] Gets the primary_name of this LanguageMapping.
- __init__(**kwargs)¶
Initializes a new LanguageMapping object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
language_tag (str) – The value to assign to the language_tag property of this LanguageMapping.
primary_name (str) – The value to assign to the primary_name property of this LanguageMapping.
names (list[oci.oda.models.NameMapping]) – The value to assign to the names property of this LanguageMapping.
- property language_tag¶
[Required] Gets the language_tag of this LanguageMapping. Language tag of mapping.
- Returns
The language_tag of this LanguageMapping.
- Return type
str
- property names¶
[Required] Gets the names of this LanguageMapping. List of named values for mapping.
- Returns
The names of this LanguageMapping.
- Return type
- property primary_name¶
[Required] Gets the primary_name of this LanguageMapping. Primary name of mapping.
- Returns
The primary_name of this LanguageMapping.
- Return type
str