struct

Polar::Models::Meter

Inherits JSON::Serializable < Struct < Value < Object

Model representing a Meter

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
archived_at

Whether the meter is archived and the time it was archived.

Source
created_at

Creation timestamp of the object.

Source
filter

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

Source
id

The ID of the object.

Source
metadata
Source
modified_at

Last modification timestamp of the object.

Source
name

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

Source
organization_id

The ID of the organization owning the meter.

Source