@Generated(value="OracleSDKGenerator", comments="API Version: 20210501") public final class CommitmentDetail extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Subscribed Service commitment summary
Note: Objects should always be created or deserialized using the CommitmentDetail.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the CommitmentDetail.Builder
, which maintain a
set of all explicitly set fields called CommitmentDetail.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
CommitmentDetail.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CommitmentDetail(String id,
Date timeStart,
Date timeEnd,
String quantity,
String usedAmount,
String availableAmount,
String fundedAllocationValue)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CommitmentDetail.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getAvailableAmount()
Commitment available amount
|
String |
getFundedAllocationValue()
Funded Allocation line value example: 12000.00
|
String |
getId()
SPM internal Commitment ID
|
String |
getQuantity()
Commitment quantity
|
Date |
getTimeEnd()
Commitment end date
|
Date |
getTimeStart()
Commitment start date
|
String |
getUsedAmount()
Commitment used amount
|
int |
hashCode() |
CommitmentDetail.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","timeStart","timeEnd","quantity","usedAmount","availableAmount","fundedAllocationValue"}) public CommitmentDetail(String id, Date timeStart, Date timeEnd, String quantity, String usedAmount, String availableAmount, String fundedAllocationValue)
public static CommitmentDetail.Builder builder()
Create a new builder.
public CommitmentDetail.Builder toBuilder()
public String getId()
SPM internal Commitment ID
public Date getTimeStart()
Commitment start date
public Date getTimeEnd()
Commitment end date
public String getQuantity()
Commitment quantity
public String getUsedAmount()
Commitment used amount
public String getAvailableAmount()
Commitment available amount
public String getFundedAllocationValue()
Funded Allocation line value example: 12000.00
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.