LanguageItem

class oci.marketplace_publisher.models.LanguageItem(**kwargs)

Bases: object

The model for a language item within an array of filter values.

Methods:

__init__(**kwargs)

Initializes a new LanguageItem object with values from keyword arguments.

Attributes:

code

[Required] Gets the code of this LanguageItem.

name

[Required] Gets the name of this LanguageItem.

__init__(**kwargs)

Initializes a new LanguageItem object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • name (str) – The value to assign to the name property of this LanguageItem.

  • code (str) – The value to assign to the code property of this LanguageItem.

property code

[Required] Gets the code of this LanguageItem. A code assigned to the item.

Returns

The code of this LanguageItem.

Return type

str

property name

[Required] Gets the name of this LanguageItem. The name of the item.

Returns

The name of this LanguageItem.

Return type

str