AssignedSubscriptionLineItemSummary¶
-
class
oci.tenant_manager_control_plane.models.
AssignedSubscriptionLineItemSummary
(**kwargs)¶ Bases:
object
Summary of the line item in an assigned subscription.
Attributes
BILLING_MODEL_COMMITMENT
A constant which can be used with the billing_model property of a AssignedSubscriptionLineItemSummary. BILLING_MODEL_PAYGO
A constant which can be used with the billing_model property of a AssignedSubscriptionLineItemSummary. BILLING_MODEL_PROMOTION
A constant which can be used with the billing_model property of a AssignedSubscriptionLineItemSummary. billing_model
[Required] Gets the billing_model of this AssignedSubscriptionLineItemSummary. id
[Required] Gets the id of this AssignedSubscriptionLineItemSummary. product_code
[Required] Gets the product_code of this AssignedSubscriptionLineItemSummary. quantity
[Required] Gets the quantity of this AssignedSubscriptionLineItemSummary. time_ended
[Required] Gets the time_ended of this AssignedSubscriptionLineItemSummary. time_started
[Required] Gets the time_started of this AssignedSubscriptionLineItemSummary. Methods
__init__
(**kwargs)Initializes a new AssignedSubscriptionLineItemSummary object with values from keyword arguments. -
BILLING_MODEL_COMMITMENT
= 'COMMITMENT'¶ A constant which can be used with the billing_model property of a AssignedSubscriptionLineItemSummary. This constant has a value of “COMMITMENT”
-
BILLING_MODEL_PAYGO
= 'PAYGO'¶ A constant which can be used with the billing_model property of a AssignedSubscriptionLineItemSummary. This constant has a value of “PAYGO”
-
BILLING_MODEL_PROMOTION
= 'PROMOTION'¶ A constant which can be used with the billing_model property of a AssignedSubscriptionLineItemSummary. This constant has a value of “PROMOTION”
-
__init__
(**kwargs)¶ Initializes a new AssignedSubscriptionLineItemSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this AssignedSubscriptionLineItemSummary.
- product_code (str) – The value to assign to the product_code property of this AssignedSubscriptionLineItemSummary.
- quantity (float) – The value to assign to the quantity property of this AssignedSubscriptionLineItemSummary.
- billing_model (str) – The value to assign to the billing_model property of this AssignedSubscriptionLineItemSummary. Allowed values for this property are: “COMMITMENT”, “PAYGO”, “PROMOTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_started (datetime) – The value to assign to the time_started property of this AssignedSubscriptionLineItemSummary.
- time_ended (datetime) – The value to assign to the time_ended property of this AssignedSubscriptionLineItemSummary.
-
billing_model
¶ [Required] Gets the billing_model of this AssignedSubscriptionLineItemSummary. Billing model supported by the associated line item.
Allowed values for this property are: “COMMITMENT”, “PAYGO”, “PROMOTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The billing_model of this AssignedSubscriptionLineItemSummary. Return type: str
-
id
¶ [Required] Gets the id of this AssignedSubscriptionLineItemSummary. Subscription line item identifier.
Returns: The id of this AssignedSubscriptionLineItemSummary. Return type: str
-
product_code
¶ [Required] Gets the product_code of this AssignedSubscriptionLineItemSummary. Product code.
Returns: The product_code of this AssignedSubscriptionLineItemSummary. Return type: str
-
quantity
¶ [Required] Gets the quantity of this AssignedSubscriptionLineItemSummary. Product number.
Returns: The quantity of this AssignedSubscriptionLineItemSummary. Return type: float
-
time_ended
¶ [Required] Gets the time_ended of this AssignedSubscriptionLineItemSummary. The time the subscription item and associated products should end. An RFC 3339 formatted date and time string.
Returns: The time_ended of this AssignedSubscriptionLineItemSummary. Return type: datetime
-
time_started
¶ [Required] Gets the time_started of this AssignedSubscriptionLineItemSummary. The time the subscription item and associated products should start. An RFC 3339 formatted date and time string.
Returns: The time_started of this AssignedSubscriptionLineItemSummary. Return type: datetime
-