Class RunUsageBreakdownEntry


  • public final class RunUsageBreakdownEntry
    extends java.lang.Object
    • Method Detail

      • getObject

        public RunUsageBreakdownEntryObject getObject()
        Returns:
        The public object type of the contributing resource. Mirrors the top-level object field on the corresponding endpoint so callers can fetch the underlying resource by id if they want more detail.
      • getId

        public java.lang.String getId()
        Returns:
        The id of the contributing resource (e.g. pr_3UZSj69pYZDKHFuuX57ic).
      • getCredits

        public double getCredits()
        Returns:
        Credits charged to the contributing resource.
      • getCharges

        public java.util.Optional<java.util.List<RunUsageBreakdownCharge>> getCharges()
        Returns:
        Itemized cost drivers that make up this entry's credits. When present, sum(charges[].credits) === credits.

        Availability: Present on runs persisted on or after June 10, 2026. Runs persisted before that date will omit this field.

      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object