Field | Type | Required | Description |
---|---|---|---|
Metadata |
map[string]components.MeterMetadata | ✔️ | N/A |
CreatedAt |
time.Time | ✔️ | Creation timestamp of the object. |
ModifiedAt |
time.Time | ✔️ | Last modification timestamp of the object. |
ID |
string | ✔️ | The ID of the object. |
Name |
string | ✔️ | The name of the meter. Will be shown on customer's invoices and usage. |
Filter |
components.Filter | ✔️ | N/A |
Aggregation |
components.MeterAggregation | ✔️ | The aggregation to apply on the filtered events to calculate the meter. |
OrganizationID |
string | ✔️ | The ID of the organization owning the meter. |