ListingProduct¶
-
class
oci.marketplace_publisher.models.ListingProduct(**kwargs)¶ Bases:
objectProducts associated with listing.
Methods
__init__(**kwargs)Initializes a new ListingProduct object with values from keyword arguments. Attributes
additional_filtersGets the additional_filters of this ListingProduct. categories[Required] Gets the categories of this ListingProduct. code[Required] Gets the code of this ListingProduct. -
__init__(**kwargs)¶ Initializes a new ListingProduct object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - code (str) – The value to assign to the code property of this ListingProduct.
- categories (list[str]) – The value to assign to the categories property of this ListingProduct.
- additional_filters (list[oci.marketplace_publisher.models.ListingProductAdditionalFilter]) – The value to assign to the additional_filters property of this ListingProduct.
-
additional_filters¶ Gets the additional_filters of this ListingProduct. Custom filter for the product
Returns: The additional_filters of this ListingProduct. Return type: list[oci.marketplace_publisher.models.ListingProductAdditionalFilter]
-
categories¶ [Required] Gets the categories of this ListingProduct. List of category codes within a Product which are applicable to the listing revision.
Returns: The categories of this ListingProduct. Return type: list[str]
-
code¶ [Required] Gets the code of this ListingProduct. Product Code
Returns: The code of this ListingProduct. Return type: str
-