@Generated(value="OracleSDKGenerator", comments="API Version: 20190111") public final class ComputedUsageSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Computed Usage Summary object
Note: Objects should always be created or deserialized using the ComputedUsageSummary.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 ComputedUsageSummary.Builder
, which maintain a
set of all explicitly set fields called ComputedUsageSummary.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 |
ComputedUsageSummary.Builder |
static class |
ComputedUsageSummary.Type
Usage compute type in SPM.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ComputedUsageSummary(Date timeCreated,
Date timeUpdated,
String parentSubscribedServiceId,
ComputedUsageProduct parentProduct,
String planNumber,
String currencyCode,
String rateCardTierdId,
String rateCardId,
String computeSource,
String dataCenter,
String mqsMessageId,
String computedUsageId,
String quantity,
String usageNumber,
String originalUsageNumber,
String commitmentServiceId,
Boolean isInvoiced,
ComputedUsageSummary.Type type,
Date timeOfArrival,
Date timeMeteredOn,
String netUnitPrice,
String costRounded,
String cost,
ComputedUsageProduct product,
String unitOfMeasure)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ComputedUsageSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCommitmentServiceId()
Subscribed service commitmentId.
|
String |
getComputedUsageId()
SPM Internal computed usage Id , 32 character string
|
String |
getComputeSource()
SPM Internal compute records source .
|
String |
getCost()
Computed Line Amount not rounded
|
String |
getCostRounded()
Computed Line Amount rounded.
|
String |
getCurrencyCode()
Currency code
|
String |
getDataCenter()
Data Center Attribute as sent by MQS to SPM.
|
Boolean |
getIsInvoiced()
Invoicing status for the aggregated compute usage
|
String |
getMqsMessageId()
MQS Identfier send to SPM , SPM does not transform this attribute and is received as is.
|
String |
getNetUnitPrice()
Net Unit Price for the product in consideration, price actual.
|
String |
getOriginalUsageNumber()
SPM Internal Original usage Line number identifier in SPM coming from Metered Services
entity.
|
ComputedUsageProduct |
getParentProduct() |
String |
getParentSubscribedServiceId()
Subscribed service line parent id
|
String |
getPlanNumber()
Subscription plan number
|
ComputedUsageProduct |
getProduct() |
String |
getQuantity()
Total Quantity that was used for computation
|
String |
getRateCardId()
Ratecard Id at subscribed service level
|
String |
getRateCardTierdId()
References the tier in the ratecard for that usage (OCI will be using the same reference to
cross-reference for correctness on the usage csv report), comes from Entity
OBSCNTR_IPT_PRODUCTTIER.
|
Date |
getTimeCreated()
Computed Usage created time, expressed in RFC 3339 timestamp format.
|
Date |
getTimeMeteredOn()
Metered Service date, expressed in RFC 3339 timestamp format.
|
Date |
getTimeOfArrival()
Usae computation date, expressed in RFC 3339 timestamp format.
|
Date |
getTimeUpdated()
Computed Usage updated time, expressed in RFC 3339 timestamp format.
|
ComputedUsageSummary.Type |
getType()
Usage compute type in SPM.
|
String |
getUnitOfMeasure()
Unit of Messure
|
String |
getUsageNumber()
SPM Internal usage Line number identifier in SPM coming from Metered Services entity.
|
int |
hashCode() |
ComputedUsageSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"timeCreated","timeUpdated","parentSubscribedServiceId","parentProduct","planNumber","currencyCode","rateCardTierdId","rateCardId","computeSource","dataCenter","mqsMessageId","computedUsageId","quantity","usageNumber","originalUsageNumber","commitmentServiceId","isInvoiced","type","timeOfArrival","timeMeteredOn","netUnitPrice","costRounded","cost","product","unitOfMeasure"}) public ComputedUsageSummary(Date timeCreated, Date timeUpdated, String parentSubscribedServiceId, ComputedUsageProduct parentProduct, String planNumber, String currencyCode, String rateCardTierdId, String rateCardId, String computeSource, String dataCenter, String mqsMessageId, String computedUsageId, String quantity, String usageNumber, String originalUsageNumber, String commitmentServiceId, Boolean isInvoiced, ComputedUsageSummary.Type type, Date timeOfArrival, Date timeMeteredOn, String netUnitPrice, String costRounded, String cost, ComputedUsageProduct product, String unitOfMeasure)
public static ComputedUsageSummary.Builder builder()
Create a new builder.
public ComputedUsageSummary.Builder toBuilder()
public Date getTimeCreated()
Computed Usage created time, expressed in RFC 3339 timestamp format.
public Date getTimeUpdated()
Computed Usage updated time, expressed in RFC 3339 timestamp format.
public String getParentSubscribedServiceId()
Subscribed service line parent id
public ComputedUsageProduct getParentProduct()
public String getPlanNumber()
Subscription plan number
public String getCurrencyCode()
Currency code
public String getRateCardTierdId()
References the tier in the ratecard for that usage (OCI will be using the same reference to cross-reference for correctness on the usage csv report), comes from Entity OBSCNTR_IPT_PRODUCTTIER.
public String getRateCardId()
Ratecard Id at subscribed service level
public String getComputeSource()
SPM Internal compute records source .
public String getDataCenter()
Data Center Attribute as sent by MQS to SPM.
public String getMqsMessageId()
MQS Identfier send to SPM , SPM does not transform this attribute and is received as is.
public String getComputedUsageId()
SPM Internal computed usage Id , 32 character string
public String getQuantity()
Total Quantity that was used for computation
public String getUsageNumber()
SPM Internal usage Line number identifier in SPM coming from Metered Services entity.
public String getOriginalUsageNumber()
SPM Internal Original usage Line number identifier in SPM coming from Metered Services entity.
public String getCommitmentServiceId()
Subscribed service commitmentId.
public Boolean getIsInvoiced()
Invoicing status for the aggregated compute usage
public ComputedUsageSummary.Type getType()
Usage compute type in SPM.
public Date getTimeOfArrival()
Usae computation date, expressed in RFC 3339 timestamp format.
public Date getTimeMeteredOn()
Metered Service date, expressed in RFC 3339 timestamp format.
public String getNetUnitPrice()
Net Unit Price for the product in consideration, price actual.
public String getCostRounded()
Computed Line Amount rounded.
public String getCost()
Computed Line Amount not rounded
public ComputedUsageProduct getProduct()
public String getUnitOfMeasure()
Unit of Messure
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.