Configuration for getting the usage
Name | Type | Description | Notes |
---|---|---|---|
mode | ModeEnum | Mode to get the usage for the usage meters - CUSTOM: Use the usages provided in the request - LOOKUP_RANGE: Use the usage of a given account for the specified range - LOOKUP_CYCLE: Use the usage of a given account for the specified cycle | |
usageMap | Map<String, BigDecimal> | Map of usage meter id and usage, this will be considered if mode is CUSTOM | [optional] |
lookupRange | UsageConfigLookupRange | [optional] | |
lookupCycle | UsageConfigLookupCycle | [optional] |
Name | Value |
---|---|
CUSTOM | "CUSTOM" |
LOOKUP_RANGE | "LOOKUP_RANGE" |
LOOKUP_CYCLE | "LOOKUP_CYCLE" |
- Serializable