struct

Polar::Models::Metric

Inherits JSON::Serializable < Struct < Value < Object

Model representing a Metric

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

display_name

Human-readable name for the metric.

Source
slug

Unique identifier for the metric.

Source
type

Type of the metric, useful to know the unit or format of the value.

Source