# MeterMeter

## Example Usage

```typescript
import { MeterMeter } from "@flexprice/sdk/sdk/models";

let value: MeterMeter = {};
```

## Fields

| Field                                                                                                                                                                                                                                                                      | Type                                                                                                                                                                                                                                                                       | Required                                                                                                                                                                                                                                                                   | Description                                                                                                                                                                                                                                                                |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `aggregation`                                                                                                                                                                                                                                                              | [models.MeterAggregation](../../sdk/models/meter-aggregation.md)                                                                                                                                                                                                           | :heavy_minus_sign:                                                                                                                                                                                                                                                         | N/A                                                                                                                                                                                                                                                                        |
| `createdAt`                                                                                                                                                                                                                                                                | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date)                                                                                                                                                                              | :heavy_minus_sign:                                                                                                                                                                                                                                                         | N/A                                                                                                                                                                                                                                                                        |
| `createdBy`                                                                                                                                                                                                                                                                | *string*                                                                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                         | N/A                                                                                                                                                                                                                                                                        |
| `environmentId`                                                                                                                                                                                                                                                            | *string*                                                                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                         | EnvironmentID is the environment identifier for the meter                                                                                                                                                                                                                  |
| `eventName`                                                                                                                                                                                                                                                                | *string*                                                                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                         | EventName is the unique identifier for the event that this meter is tracking<br/>It is a mandatory field in the events table and hence being used as the primary matching field<br/>We can have multiple meters tracking the same event but with different filters and aggregation |
| `filters`                                                                                                                                                                                                                                                                  | [models.MeterFilter](../../sdk/models/meter-filter.md)[]                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                         | Filters define the criteria for the meter to be applied on the events before aggregation<br/>It also defines the possible values on which later the charges will be applied                                                                                                |
| `id`                                                                                                                                                                                                                                                                       | *string*                                                                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                         | ID is the unique identifier for the meter                                                                                                                                                                                                                                  |
| `name`                                                                                                                                                                                                                                                                     | *string*                                                                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                         | Name is the display name of the meter                                                                                                                                                                                                                                      |
| `resetUsage`                                                                                                                                                                                                                                                               | [models.ResetUsage](../../sdk/models/reset-usage.md)                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                                                         | N/A                                                                                                                                                                                                                                                                        |
| `status`                                                                                                                                                                                                                                                                   | [models.Status](../../sdk/models/status.md)                                                                                                                                                                                                                                | :heavy_minus_sign:                                                                                                                                                                                                                                                         | N/A                                                                                                                                                                                                                                                                        |
| `tenantId`                                                                                                                                                                                                                                                                 | *string*                                                                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                         | N/A                                                                                                                                                                                                                                                                        |
| `updatedAt`                                                                                                                                                                                                                                                                | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date)                                                                                                                                                                              | :heavy_minus_sign:                                                                                                                                                                                                                                                         | N/A                                                                                                                                                                                                                                                                        |
| `updatedBy`                                                                                                                                                                                                                                                                | *string*                                                                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                         | N/A                                                                                                                                                                                                                                                                        |