CommitmentDetail¶
- class oci.osub_subscription.models.CommitmentDetail(**kwargs)¶
Bases:
objectSubscribed Service commitment summary
Methods:
__init__(**kwargs)Initializes a new CommitmentDetail object with values from keyword arguments.
Attributes:
Gets the available_amount of this CommitmentDetail.
Gets the funded_allocation_value of this CommitmentDetail.
[Required] Gets the id of this CommitmentDetail.
Gets the quantity of this CommitmentDetail.
Gets the time_end of this CommitmentDetail.
Gets the time_start of this CommitmentDetail.
Gets the used_amount of this CommitmentDetail.
- __init__(**kwargs)¶
Initializes a new CommitmentDetail 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 CommitmentDetail.
time_start (datetime) – The value to assign to the time_start property of this CommitmentDetail.
time_end (datetime) – The value to assign to the time_end property of this CommitmentDetail.
quantity (str) – The value to assign to the quantity property of this CommitmentDetail.
used_amount (str) – The value to assign to the used_amount property of this CommitmentDetail.
available_amount (str) – The value to assign to the available_amount property of this CommitmentDetail.
funded_allocation_value (str) – The value to assign to the funded_allocation_value property of this CommitmentDetail.
- property available_amount¶
Gets the available_amount of this CommitmentDetail. Commitment available amount
- Returns
The available_amount of this CommitmentDetail.
- Return type
str
- property funded_allocation_value¶
Gets the funded_allocation_value of this CommitmentDetail. Funded Allocation line value example: 12000.00
- Returns
The funded_allocation_value of this CommitmentDetail.
- Return type
str
- property id¶
[Required] Gets the id of this CommitmentDetail. SPM internal Commitment ID
- Returns
The id of this CommitmentDetail.
- Return type
str
- property quantity¶
Gets the quantity of this CommitmentDetail. Commitment quantity
- Returns
The quantity of this CommitmentDetail.
- Return type
str
- property time_end¶
Gets the time_end of this CommitmentDetail. Commitment end date
- Returns
The time_end of this CommitmentDetail.
- Return type
datetime
- property time_start¶
Gets the time_start of this CommitmentDetail. Commitment start date
- Returns
The time_start of this CommitmentDetail.
- Return type
datetime
- property used_amount¶
Gets the used_amount of this CommitmentDetail. Commitment used amount
- Returns
The used_amount of this CommitmentDetail.
- Return type
str