enum

Polar::Models::EventSortProperty

Inherits Enum < Comparable < Value < Object

Constants

Timestamp = 0
NegTimestamp = 1

Constructors

from_json(parser : JSON::PullParser) : self

Deserialize from JSON

Source

Instance methods

neg_timestamp?

Returns true if this enum value equals NegTimestamp

Source
timestamp?

Returns true if this enum value equals Timestamp

Source
to_json(json : JSON::Builder)

Serialize to JSON using snake_case string values

Source