CategorySummary

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

Bases: object

The model for the category summary.

Methods

__init__(**kwargs) Initializes a new CategorySummary object with values from keyword arguments.

Attributes

code [Required] Gets the code of this CategorySummary.
lifecycle_state [Required] Gets the lifecycle_state of this CategorySummary.
name [Required] Gets the name of this CategorySummary.
product_code [Required] Gets the product_code of this CategorySummary.
time_created [Required] Gets the time_created of this CategorySummary.
time_updated [Required] Gets the time_updated of this CategorySummary.
__init__(**kwargs)

Initializes a new CategorySummary 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 CategorySummary.
  • code (str) – The value to assign to the code property of this CategorySummary.
  • product_code (str) – The value to assign to the product_code property of this CategorySummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this CategorySummary.
  • time_created (datetime) – The value to assign to the time_created property of this CategorySummary.
  • time_updated (datetime) – The value to assign to the time_updated property of this CategorySummary.
code

[Required] Gets the code of this CategorySummary. The code of the category.

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

[Required] Gets the lifecycle_state of this CategorySummary. The current state of the category.

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

[Required] Gets the name of this CategorySummary. The name of the category.

Returns:The name of this CategorySummary.
Return type:str
product_code

[Required] Gets the product_code of this CategorySummary. The product that the category belongs.

Returns:The product_code of this CategorySummary.
Return type:str
time_created

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

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

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

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

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

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