Product¶
- class oci.license_manager.models.Product(**kwargs)¶
Bases:
objectDetails of product.
Attributes:
A constant which can be used with the category property of a Product.
A constant which can be used with the category property of a Product.
[Required] Gets the category of this Product.
[Required] Gets the count of this Product.
[Required] Gets the name of this Product.
Methods:
__init__(**kwargs)Initializes a new Product object with values from keyword arguments.
- CATEGORY_BASE = 'BASE'¶
A constant which can be used with the category property of a Product. This constant has a value of “BASE”
- CATEGORY_OPTION = 'OPTION'¶
A constant which can be used with the category property of a Product. This constant has a value of “OPTION”
- __init__(**kwargs)¶
Initializes a new Product 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 Product.
count (float) – The value to assign to the count property of this Product.
category (str) – The value to assign to the category property of this Product. Allowed values for this property are: “BASE”, “OPTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property category¶
[Required] Gets the category of this Product. Product category base or option.
Allowed values for this property are: “BASE”, “OPTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The category of this Product.
- Return type
str
- property count¶
[Required] Gets the count of this Product. Units required for the missing product.
- Returns
The count of this Product.
- Return type
float
- property name¶
[Required] Gets the name of this Product. Name of the product.
- Returns
The name of this Product.
- Return type
str