enum

Polar::Models::CustomerBenefitGrantSortProperty

Inherits Enum < Comparable < Value < Object

Constants

GrantedAt = 0
NegGrantedAt = 1
Type = 2
NegType = 3
Organization = 4
NegOrganization = 5

Constructors

from_json(parser : JSON::PullParser) : self

Deserialize from JSON

Source

Instance methods

granted_at?

Returns true if this enum value equals GrantedAt

Source
neg_granted_at?

Returns true if this enum value equals NegGrantedAt

Source
neg_organization?

Returns true if this enum value equals NegOrganization

Source
neg_type?

Returns true if this enum value equals NegType

Source
organization?

Returns true if this enum value equals Organization

Source
to_json(json : JSON::Builder)

Serialize to JSON using snake_case string values

Source
type?

Returns true if this enum value equals Type

Source