Class ComputedUsageSummary
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.onesubscription.model.ComputedUsageSummary
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20190111") public final class ComputedUsageSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelComputed Usage Summary object
 Note: Objects should always be created or deserialized using theComputedUsageSummary.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 calledComputedUsageSummary.Builder.__explicitlySet__. ThehashCode()andequals(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).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classComputedUsageSummary.Builderstatic classComputedUsageSummary.TypeUsage compute type in SPM.
 - 
Constructor SummaryConstructors Constructor 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.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComputedUsageSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCommitmentServiceId()Subscribed service commitmentId.StringgetComputedUsageId()SPM Internal computed usage Id , 32 character stringStringgetComputeSource()SPM Internal compute records source .StringgetCost()Computed Line Amount not roundedStringgetCostRounded()Computed Line Amount rounded.StringgetCurrencyCode()Currency codeStringgetDataCenter()Data Center Attribute as sent by MQS to SPM.BooleangetIsInvoiced()Invoicing status for the aggregated compute usageStringgetMqsMessageId()MQS Identfier send to SPM , SPM does not transform this attribute and is received as is.StringgetNetUnitPrice()Net Unit Price for the product in consideration, price actual.StringgetOriginalUsageNumber()SPM Internal Original usage Line number identifier in SPM coming from Metered Services entity.ComputedUsageProductgetParentProduct()StringgetParentSubscribedServiceId()Subscribed service line parent idStringgetPlanNumber()Subscription plan numberComputedUsageProductgetProduct()StringgetQuantity()Total Quantity that was used for computationStringgetRateCardId()Ratecard Id at subscribed service levelStringgetRateCardTierdId()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.DategetTimeCreated()Computed Usage created time, expressed in RFC 3339 timestamp format.DategetTimeMeteredOn()Metered Service date, expressed in RFC 3339 timestamp format.DategetTimeOfArrival()Usae computation date, expressed in RFC 3339 timestamp format.DategetTimeUpdated()Computed Usage updated time, expressed in RFC 3339 timestamp format.ComputedUsageSummary.TypegetType()Usage compute type in SPM.StringgetUnitOfMeasure()Unit of MessureStringgetUsageNumber()SPM Internal usage Line number identifier in SPM coming from Metered Services entity.inthashCode()ComputedUsageSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
ComputedUsageSummary@Deprecated @ConstructorProperties({"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) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static ComputedUsageSummary.Builder builder() Create a new builder.
 - 
toBuilderpublic ComputedUsageSummary.Builder toBuilder() 
 - 
getTimeCreatedpublic Date getTimeCreated() Computed Usage created time, expressed in RFC 3339 timestamp format.- Returns:
- the value
 
 - 
getTimeUpdatedpublic Date getTimeUpdated() Computed Usage updated time, expressed in RFC 3339 timestamp format.- Returns:
- the value
 
 - 
getParentSubscribedServiceIdpublic String getParentSubscribedServiceId() Subscribed service line parent id- Returns:
- the value
 
 - 
getParentProductpublic ComputedUsageProduct getParentProduct() 
 - 
getPlanNumberpublic String getPlanNumber() Subscription plan number- Returns:
- the value
 
 - 
getCurrencyCodepublic String getCurrencyCode() Currency code- Returns:
- the value
 
 - 
getRateCardTierdIdpublic 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.- Returns:
- the value
 
 - 
getRateCardIdpublic String getRateCardId() Ratecard Id at subscribed service level- Returns:
- the value
 
 - 
getComputeSourcepublic String getComputeSource() SPM Internal compute records source .- Returns:
- the value
 
 - 
getDataCenterpublic String getDataCenter() Data Center Attribute as sent by MQS to SPM.- Returns:
- the value
 
 - 
getMqsMessageIdpublic String getMqsMessageId() MQS Identfier send to SPM , SPM does not transform this attribute and is received as is.- Returns:
- the value
 
 - 
getComputedUsageIdpublic String getComputedUsageId() SPM Internal computed usage Id , 32 character string- Returns:
- the value
 
 - 
getQuantitypublic String getQuantity() Total Quantity that was used for computation- Returns:
- the value
 
 - 
getUsageNumberpublic String getUsageNumber() SPM Internal usage Line number identifier in SPM coming from Metered Services entity.- Returns:
- the value
 
 - 
getOriginalUsageNumberpublic String getOriginalUsageNumber() SPM Internal Original usage Line number identifier in SPM coming from Metered Services entity.- Returns:
- the value
 
 - 
getCommitmentServiceIdpublic String getCommitmentServiceId() Subscribed service commitmentId.- Returns:
- the value
 
 - 
getIsInvoicedpublic Boolean getIsInvoiced() Invoicing status for the aggregated compute usage- Returns:
- the value
 
 - 
getTypepublic ComputedUsageSummary.Type getType() Usage compute type in SPM.- Returns:
- the value
 
 - 
getTimeOfArrivalpublic Date getTimeOfArrival() Usae computation date, expressed in RFC 3339 timestamp format.- Returns:
- the value
 
 - 
getTimeMeteredOnpublic Date getTimeMeteredOn() Metered Service date, expressed in RFC 3339 timestamp format.- Returns:
- the value
 
 - 
getNetUnitPricepublic String getNetUnitPrice() Net Unit Price for the product in consideration, price actual.- Returns:
- the value
 
 - 
getCostRoundedpublic String getCostRounded() Computed Line Amount rounded.- Returns:
- the value
 
 - 
getCostpublic String getCost() Computed Line Amount not rounded- Returns:
- the value
 
 - 
getProductpublic ComputedUsageProduct getProduct() 
 - 
getUnitOfMeasurepublic String getUnitOfMeasure() Unit of Messure- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-