Package ai.vectros.types
Class Credits.Builder
java.lang.Object
ai.vectros.types.Credits.Builder
- Enclosing class:
Credits
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) breakdown(CreditBreakdown breakdown) breakdown(Optional<CreditBreakdown> breakdown) build()Plan monthly credit limit.Remaining credits before plan limit hit.Credits consumed this period (rounded down to whole credits)Credits consumed this period in milli-credit precision (1 credit = 1000 milli-credits).
-
Method Details
-
from
-
used
Credits consumed this period (rounded down to whole credits)
-
used
-
usedMilli
Credits consumed this period in milli-credit precision (1 credit = 1000 milli-credits). Use this for exact accounting and for cross-checking per-environment totals — the rounded
usedvalue can differ fromlive.used + test.usedby up to 1 credit per category due to independent truncation. The milli value is exact. -
usedMilli
-
limit
Plan monthly credit limit. Null for unlimited (enterprise) plans.
-
limit
-
limit
-
remaining
Remaining credits before plan limit hit. Null for unlimited plans.
-
remaining
-
remaining
-
breakdown
-
breakdown
-
build
-
additionalProperty
-
additionalProperties
-