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 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
      • getRateCardId

        public String getRateCardId()
        Ratecard Id at subscribed service level
        Returns:
        the value
      • getComputeSource

        public String getComputeSource()
        SPM Internal compute records source .
        Returns:
        the value
      • getDataCenter

        public String getDataCenter()
        Data Center Attribute as sent by MQS to SPM.
        Returns:
        the value
      • getMqsMessageId

        public String getMqsMessageId()
        MQS Identfier send 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 , 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 coming from Metered Services entity.
        Returns:
        the value
      • getOriginalUsageNumber

        public String getOriginalUsageNumber()
        SPM Internal Original usage Line number identifier in SPM coming from Metered Services entity.
        Returns:
        the value
      • getCommitmentServiceId

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

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

        public Date getTimeOfArrival()
        Usae 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 Line Amount rounded.
        Returns:
        the value
      • getCost

        public String getCost()
        Computed Line Amount not rounded
        Returns:
        the value
      • getUnitOfMeasure

        public String getUnitOfMeasure()
        Unit of Messure
        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