Skip to content

Latest commit

 

History

History
55 lines (33 loc) · 1.25 KB

UsageMeter.md

File metadata and controls

55 lines (33 loc) · 1.25 KB

UsageMeter

Structure of usage meter

Properties

Name Type Description Notes
id String Identifier of the usage meter
name String Name of the usage meter
description String [optional]
type TypeEnum Type of usage meter
status StatusEnum Status of usage meter [optional]
aggregation AggregationEnum Aggregation to be applied on usage meter result
computations List<Computation> [optional]
createdAt OffsetDateTime [optional]
lastActivatedAt OffsetDateTime [optional]
updatedAt OffsetDateTime [optional]

Enum: TypeEnum

Name Value
COUNTER "COUNTER"

Enum: StatusEnum

Name Value
DRAFT "DRAFT"
ACTIVE "ACTIVE"
INACTIVE "INACTIVE"
ARCHIVED "ARCHIVED"

Enum: AggregationEnum

Name Value
COUNT "COUNT"
SUM "SUM"

Implemented Interfaces

  • Serializable