Region

class oci.marketplace.models.Region(**kwargs)

Bases: object

The model for regions supported by a listing and package.

Methods:

__init__(**kwargs)

Initializes a new Region object with values from keyword arguments.

Attributes:

code

Gets the code of this Region.

countries

Gets the countries of this Region.

name

Gets the name of this Region.

__init__(**kwargs)

Initializes a new Region 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 Region.

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

  • countries (list[oci.marketplace.models.Item]) – The value to assign to the countries property of this Region.

property code

Gets the code of this Region. The code of the region.

Returns

The code of this Region.

Return type

str

property countries

Gets the countries of this Region. Countries in the region.

Returns

The countries of this Region.

Return type

list[oci.marketplace.models.Item]

property name

Gets the name of this Region. The name of the region.

Returns

The name of this Region.

Return type

str