Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 1005 Bytes

UsageConfig.md

File metadata and controls

31 lines (17 loc) · 1005 Bytes

UsageConfig

Configuration for getting the usage

Properties

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]

Enum: ModeEnum

Name Value
CUSTOM "CUSTOM"
LOOKUP_RANGE "LOOKUP_RANGE"
LOOKUP_CYCLE "LOOKUP_CYCLE"

Implemented Interfaces

  • Serializable