@Generated(value="OracleSDKGenerator", comments="API Version: 20210501") public final class ComputedUsageAggregatedSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Subscribed Service Contract details
Note: Objects should always be created or deserialized using the ComputedUsageAggregatedSummary.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 ComputedUsageAggregatedSummary.Builder
, which maintain a
set of all explicitly set fields called ComputedUsageAggregatedSummary.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 |
ComputedUsageAggregatedSummary.Builder |
static class |
ComputedUsageAggregatedSummary.PricingModel
Subscribed services pricing model
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ComputedUsageAggregatedSummary(String subscriptionId,
String parentSubscribedServiceId,
Product parentProduct,
Date timeStart,
Date timeEnd,
String planNumber,
String currencyCode,
String rateCardId,
ComputedUsageAggregatedSummary.PricingModel pricingModel,
List<ComputedUsageAggregation> aggregatedComputedUsages)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ComputedUsageAggregatedSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<ComputedUsageAggregation> |
getAggregatedComputedUsages()
Aggregation of computed usages for the subscribed service.
|
String |
getCurrencyCode()
Currency code
|
Product |
getParentProduct() |
String |
getParentSubscribedServiceId()
Subscribed service line parent id
|
String |
getPlanNumber()
Subscribed service asociated subscription plan number.
|
ComputedUsageAggregatedSummary.PricingModel |
getPricingModel()
Subscribed services pricing model
|
String |
getRateCardId()
Inernal SPM Ratecard Id at line level
|
String |
getSubscriptionId()
Subscription Id is an identifier associated to the service used for filter the Computed Usage
in SPM
|
Date |
getTimeEnd()
Subscribed services contract line end date, expressed in RFC 3339 timestamp format.
|
Date |
getTimeStart()
Subscribed services contract line start date, expressed in RFC 3339 timestamp format.
|
int |
hashCode() |
ComputedUsageAggregatedSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"subscriptionId","parentSubscribedServiceId","parentProduct","timeStart","timeEnd","planNumber","currencyCode","rateCardId","pricingModel","aggregatedComputedUsages"}) public ComputedUsageAggregatedSummary(String subscriptionId, String parentSubscribedServiceId, Product parentProduct, Date timeStart, Date timeEnd, String planNumber, String currencyCode, String rateCardId, ComputedUsageAggregatedSummary.PricingModel pricingModel, List<ComputedUsageAggregation> aggregatedComputedUsages)
public static ComputedUsageAggregatedSummary.Builder builder()
Create a new builder.
public ComputedUsageAggregatedSummary.Builder toBuilder()
public String getSubscriptionId()
Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM
public String getParentSubscribedServiceId()
Subscribed service line parent id
public Product getParentProduct()
public Date getTimeStart()
Subscribed services contract line start date, expressed in RFC 3339 timestamp format.
public Date getTimeEnd()
Subscribed services contract line end date, expressed in RFC 3339 timestamp format.
public String getPlanNumber()
Subscribed service asociated subscription plan number.
public String getCurrencyCode()
Currency code
public String getRateCardId()
Inernal SPM Ratecard Id at line level
public ComputedUsageAggregatedSummary.PricingModel getPricingModel()
Subscribed services pricing model
public List<ComputedUsageAggregation> getAggregatedComputedUsages()
Aggregation of computed usages for the subscribed service.
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.