Market

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

Bases: object

The model for the market details.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a Market.
LIFECYCLE_STATE_INACTIVE A constant which can be used with the lifecycle_state property of a Market.
bill_to_countries [Required] Gets the bill_to_countries of this Market.
category_code [Required] Gets the category_code of this Market.
code [Required] Gets the code of this Market.
lifecycle_state [Required] Gets the lifecycle_state of this Market.
name [Required] Gets the name of this Market.
realm_code Gets the realm_code of this Market.
time_created [Required] Gets the time_created of this Market.
time_updated [Required] Gets the time_updated of this Market.

Methods

__init__(**kwargs) Initializes a new Market object with values from keyword arguments.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a Market. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

A constant which can be used with the lifecycle_state property of a Market. This constant has a value of “INACTIVE”

__init__(**kwargs)

Initializes a new Market 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 Market.
  • code (str) – The value to assign to the code property of this Market.
  • category_code (str) – The value to assign to the category_code property of this Market.
  • realm_code (str) – The value to assign to the realm_code property of this Market.
  • bill_to_countries (list[str]) – The value to assign to the bill_to_countries property of this Market.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this Market. Allowed values for this property are: “ACTIVE”, “INACTIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_created (datetime) – The value to assign to the time_created property of this Market.
  • time_updated (datetime) – The value to assign to the time_updated property of this Market.
bill_to_countries

[Required] Gets the bill_to_countries of this Market. bill to countries for the market.

Returns:The bill_to_countries of this Market.
Return type:list[str]
category_code

[Required] Gets the category_code of this Market. The category code of the market.

Returns:The category_code of this Market.
Return type:str
code

[Required] Gets the code of this Market. The code of the market.

Returns:The code of this Market.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this Market. The current state for the market.

Allowed values for this property are: “ACTIVE”, “INACTIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this Market.
Return type:str
name

[Required] Gets the name of this Market. The name of the market.

Returns:The name of this Market.
Return type:str
realm_code

Gets the realm_code of this Market. The realm code of the market.

Returns:The realm_code of this Market.
Return type:str
time_created

[Required] Gets the time_created of this Market. The date and time the market was created, in the format defined by RFC3339.

Example: 2022-09-15T21:10:29.600Z

Returns:The time_created of this Market.
Return type:datetime
time_updated

[Required] Gets the time_updated of this Market. The date and time the market was updated, in the format defined by RFC3339.

Example: 2022-09-15T21:10:29.600Z

Returns:The time_updated of this Market.
Return type:datetime