Country

class oci.osp_gateway.models.Country(**kwargs)

Bases: object

Country details model

Methods:

__init__(**kwargs)

Initializes a new Country object with values from keyword arguments.

Attributes:

ascii3_country_code

Gets the ascii3_country_code of this Country.

country_code

Gets the country_code of this Country.

country_id

Gets the country_id of this Country.

country_name

Gets the country_name of this Country.

language_id

Gets the language_id of this Country.

__init__(**kwargs)

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

Parameters
  • country_id (float) – The value to assign to the country_id property of this Country.

  • country_code (str) – The value to assign to the country_code property of this Country.

  • country_name (str) – The value to assign to the country_name property of this Country.

  • language_id (float) – The value to assign to the language_id property of this Country.

  • ascii3_country_code (str) – The value to assign to the ascii3_country_code property of this Country.

property ascii3_country_code

Gets the ascii3_country_code of this Country. Country code in ISO-3166-1 3-letter format

Returns

The ascii3_country_code of this Country.

Return type

str

property country_code

Gets the country_code of this Country. Country code in ISO-3166-1 2-letter format

Returns

The country_code of this Country.

Return type

str

property country_id

Gets the country_id of this Country. Indentifier of the country. This is a DB side unique id which was generated when the entity was created in the table

Returns

The country_id of this Country.

Return type

float

property country_name

Gets the country_name of this Country. Name of the country

Returns

The country_name of this Country.

Return type

str

property language_id

Gets the language_id of this Country. Language identifier

Returns

The language_id of this Country.

Return type

float