enum

Polar::Models::EventSource

Inherits Enum < Comparable < Value < Object

Constants

System = 0
User = 1

Constructors

from_json(parser : JSON::PullParser) : self

Deserialize from JSON

Source

Instance methods

system?

Returns true if this enum value equals System

Source
to_json(json : JSON::Builder)

Serialize to JSON using snake_case string values

Source
user?

Returns true if this enum value equals User

Source