LanguageMapping

class oci.oda.models.LanguageMapping(**kwargs)

Bases: object

A natural language mapping.

Methods

__init__(**kwargs) Initializes a new LanguageMapping object with values from keyword arguments.

Attributes

language_tag [Required] Gets the language_tag of this LanguageMapping.
names [Required] Gets the names of this LanguageMapping.
primary_name [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.
language_tag

[Required] Gets the language_tag of this LanguageMapping. Language tag of mapping.

Returns:The language_tag of this LanguageMapping.
Return type:str
names

[Required] Gets the names of this LanguageMapping. List of named values for mapping.

Returns:The names of this LanguageMapping.
Return type:list[oci.oda.models.NameMapping]
primary_name

[Required] Gets the primary_name of this LanguageMapping. Primary name of mapping.

Returns:The primary_name of this LanguageMapping.
Return type:str