Class ComputedUsageSummary


  • @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).
    • Method Detail

      • getTimeCreated

        public Date getTimeCreated()
        Computed usage created time, expressed in RFC 3339 timestamp format.
        Returns:
        the value
      • getTimeUpdated

        public Date getTimeUpdated()
        Computed usage updated time, expressed in RFC 3339 timestamp format.
        Returns:
        the value
      • getParentSubscribedServiceId

        public String getParentSubscribedServiceId()
        Subscribed service line parent ID.
        Returns:
        the value
      • getPlanNumber

        public String getPlanNumber()
        Subscription plan number.
        Returns:
        the value
      • getCurrencyCode

        public String getCurrencyCode()
        Currency code.
        Returns:
        the value
      • getRateCardTierdId

        public String getRateCardTierdId()
        References the tier in the rate card for the associated usage (OCI uses the same reference to cross-reference for correctness in CSV Usage Reports), obtained from the OBSCNTR_IPT_PRODUCTTIER entity.
        Returns:
        the value
      • getRateCardId

        public String getRateCardId()
        Rate card ID at the subscribed service level.
        Returns:
        the value
      • getComputeSource

        public String getComputeSource()
        SPM (Subscription Plan Management) internal compute records source.
        Returns:
        the value
      • getDataCenter

        public String getDataCenter()
        Data center attribute as sent by the meterering system to SPM.
        Returns:
        the value
      • getMqsMessageId

        public String getMqsMessageId()
        The meterering system identfier sent to SPM.

        SPM does not transform this attribute and is received as-is.

        Returns:
        the value
      • getComputedUsageId

        public String getComputedUsageId()
        SPM internal computed usage ID, which is a 32-character string.
        Returns:
        the value
      • getQuantity

        public String getQuantity()
        Total quantity that was used for computation.
        Returns:
        the value
      • getUsageNumber

        public String getUsageNumber()
        SPM internal usage line number identifier in SPM, originating from the metered services entity.
        Returns:
        the value
      • getOriginalUsageNumber

        public String getOriginalUsageNumber()
        SPM internal original usage Line number identifier in SPM, originating from the metered services entity.
        Returns:
        the value
      • getCommitmentServiceId

        public String getCommitmentServiceId()
        Subscribed service commitment ID.
        Returns:
        the value
      • getIsInvoiced

        public Boolean getIsInvoiced()
        Invoicing status for the aggregated compute usage.
        Returns:
        the value
      • getTimeOfArrival

        public Date getTimeOfArrival()
        Usage computation date, expressed in RFC 3339 timestamp format.
        Returns:
        the value
      • getTimeMeteredOn

        public Date getTimeMeteredOn()
        Metered service date, expressed in RFC 3339 timestamp format.
        Returns:
        the value
      • getNetUnitPrice

        public String getNetUnitPrice()
        Net unit price for the product in consideration, price actual.
        Returns:
        the value
      • getCostRounded

        public String getCostRounded()
        Computed rounded line amount.
        Returns:
        the value
      • getCost

        public String getCost()
        Computed unrounded line amount.
        Returns:
        the value
      • getUnitOfMeasure

        public String getUnitOfMeasure()
        Unit of measure.
        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • toString

        public 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
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel