Product

class oci.license_manager.models.Product(**kwargs)

Bases: object

Details of product.

Attributes

CATEGORY_BASE A constant which can be used with the category property of a Product.
CATEGORY_OPTION A constant which can be used with the category property of a Product.
category [Required] Gets the category of this Product.
count [Required] Gets the count of this Product.
name [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’.
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
count

[Required] Gets the count of this Product. Units required for the missing product.

Returns:The count of this Product.
Return type:float
name

[Required] Gets the name of this Product. Name of the product.

Returns:The name of this Product.
Return type:str