SubscriptionProduct

class oci.onesubscription.models.SubscriptionProduct(**kwargs)

Bases: object

Product description

Methods

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

Attributes

name [Required] Gets the name of this SubscriptionProduct.
part_number [Required] Gets the part_number of this SubscriptionProduct.
provisioning_group Gets the provisioning_group of this SubscriptionProduct.
unit_of_measure [Required] Gets the unit_of_measure of this SubscriptionProduct.
__init__(**kwargs)

Initializes a new SubscriptionProduct object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • part_number (str) – The value to assign to the part_number property of this SubscriptionProduct.
  • name (str) – The value to assign to the name property of this SubscriptionProduct.
  • unit_of_measure (str) – The value to assign to the unit_of_measure property of this SubscriptionProduct.
  • provisioning_group (str) – The value to assign to the provisioning_group property of this SubscriptionProduct.
name

[Required] Gets the name of this SubscriptionProduct. Product name

Returns:The name of this SubscriptionProduct.
Return type:str
part_number

[Required] Gets the part_number of this SubscriptionProduct. Product part numner

Returns:The part_number of this SubscriptionProduct.
Return type:str
provisioning_group

Gets the provisioning_group of this SubscriptionProduct. Product provisioning group

Returns:The provisioning_group of this SubscriptionProduct.
Return type:str
unit_of_measure

[Required] Gets the unit_of_measure of this SubscriptionProduct. Unit of measure

Returns:The unit_of_measure of this SubscriptionProduct.
Return type:str