v1.15.2
This commit is contained in:
dayterr
2026-06-19 16:40:41 +03:00
parent f5a632654b
commit cd5d1c9d0b
10 changed files with 72 additions and 48 deletions

View File

@@ -47,8 +47,22 @@ type ByPool struct {
UsageLimit uint64 `json:"usage_limit"`
}
// List of Resource groups
type ListConsumption struct {
// Data
Data []RecordConsumption `json:"data"`
// Enrtry count
EntryCount uint64 `json:"entryCount"`
}
// Main information about consumption
type RecordConsumption struct {
// ID
ID uint64 `json:"id"`
// Name
Name string `json:"name"`
// By pool
ByPool map[string]ByPool `json:"byPool"`
@@ -57,6 +71,9 @@ type RecordConsumption struct {
// Type
Type string `json:"type"`
// Consumed by
ConsumedBy []uint64 `json:"consumedBy"`
}
// Main information about URI