struct

Polar::Models::BenefitDiscordProperties

Inherits JSON::Serializable < Struct < Value < Object

Model representing a BenefitDiscordProperties

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

guild_id

The ID of the Discord server.

Source
guild_token
Source
kick_member

Whether to kick the member from the Discord server on revocation.

Source
role_id

The ID of the Discord role to grant.

Source