struct

Polar::Models::MeterUpdate

Inherits JSON::Serializable < Struct < Value < Object

Model representing a MeterUpdate

This struct is auto-generated from the Polar.sh OpenAPI specification. It uses JSON::Serializable for automatic JSON parsing and serialization.

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

aggregation

The aggregation to apply on the filtered events to calculate the meter.

Source
filter

The filter to apply on events that'll be used to calculate the meter.

Source
is_archived

Whether the meter is archived. Archived meters are no longer used for billing.

Source
metadata

Key-value object allowing you to store additional information.

The key must be a string with a maximum length of 40 characters. The value must be either:

A string with a maximum length of 500 characters An integer A floating-point number A boolean

You can store up to 50 key-value pairs.

Source
name

The name of the meter. Will be shown on customer's invoices and usage.

Source