MarketSummary

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

Bases: object

The model for the market metadata.

Methods:

__init__(**kwargs)

Initializes a new MarketSummary object with values from keyword arguments.

Attributes:

bill_to_countries

[Required] Gets the bill_to_countries of this MarketSummary.

category_code

[Required] Gets the category_code of this MarketSummary.

code

[Required] Gets the code of this MarketSummary.

lifecycle_state

[Required] Gets the lifecycle_state of this MarketSummary.

name

[Required] Gets the name of this MarketSummary.

time_created

[Required] Gets the time_created of this MarketSummary.

time_updated

[Required] Gets the time_updated of this MarketSummary.

__init__(**kwargs)

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

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

  • category_code (str) – The value to assign to the category_code property of this MarketSummary.

  • bill_to_countries (list[str]) – The value to assign to the bill_to_countries property of this MarketSummary.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this MarketSummary.

  • time_created (datetime) – The value to assign to the time_created property of this MarketSummary.

  • time_updated (datetime) – The value to assign to the time_updated property of this MarketSummary.

property bill_to_countries

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

Returns

The bill_to_countries of this MarketSummary.

Return type

list[str]

property category_code

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

Returns

The category_code of this MarketSummary.

Return type

str

property code

[Required] Gets the code of this MarketSummary. The code of the product.

Returns

The code of this MarketSummary.

Return type

str

property lifecycle_state

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

Returns

The lifecycle_state of this MarketSummary.

Return type

str

property name

[Required] Gets the name of this MarketSummary. The name of the product.

Returns

The name of this MarketSummary.

Return type

str

property time_created

[Required] Gets the time_created of this MarketSummary. 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 MarketSummary.

Return type

datetime

property time_updated

[Required] Gets the time_updated of this MarketSummary. 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 MarketSummary.

Return type

datetime