ProductSummary¶
-
class
oci.marketplace_publisher.models.
ProductSummary
(**kwargs)¶ Bases:
object
The model for the product metadata.
Methods
__init__
(**kwargs)Initializes a new ProductSummary object with values from keyword arguments. Attributes
code
Gets the code of this ProductSummary. lifecycle_state
[Required] Gets the lifecycle_state of this ProductSummary. name
[Required] Gets the name of this ProductSummary. product_group
Gets the product_group of this ProductSummary. time_created
[Required] Gets the time_created of this ProductSummary. time_updated
[Required] Gets the time_updated of this ProductSummary. -
__init__
(**kwargs)¶ Initializes a new ProductSummary 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 ProductSummary.
- code (str) – The value to assign to the code property of this ProductSummary.
- product_group (str) – The value to assign to the product_group property of this ProductSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this ProductSummary.
- time_created (datetime) – The value to assign to the time_created property of this ProductSummary.
- time_updated (datetime) – The value to assign to the time_updated property of this ProductSummary.
-
code
¶ Gets the code of this ProductSummary. The code for the product.
Returns: The code of this ProductSummary. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this ProductSummary. The current state for the product.
Returns: The lifecycle_state of this ProductSummary. Return type: str
-
name
¶ [Required] Gets the name of this ProductSummary. The name for the product.
Returns: The name of this ProductSummary. Return type: str
-
product_group
¶ Gets the product_group of this ProductSummary. The product group for the product.
Returns: The product_group of this ProductSummary. Return type: str
-