enum

Polar::Models::OrganizationSocialPlatforms

Inherits Enum < Comparable < Value < Object

Constants

X = 0
Github = 1
Facebook = 2
Instagram = 3
Youtube = 4
Tiktok = 5
Linkedin = 6
Other = 7

Constructors

from_json(parser : JSON::PullParser) : self

Deserialize from JSON

Source

Instance methods

facebook?

Returns true if this enum value equals Facebook

Source
github?

Returns true if this enum value equals Github

Source
instagram?

Returns true if this enum value equals Instagram

Source
linkedin?

Returns true if this enum value equals Linkedin

Source
other?

Returns true if this enum value equals Other

Source
tiktok?

Returns true if this enum value equals Tiktok

Source
to_json(json : JSON::Builder)

Serialize to JSON using snake_case string values

Source
x?

Returns true if this enum value equals X

Source
youtube?

Returns true if this enum value equals Youtube

Source