struct

Polar::Models::BenefitDiscordCreateProperties

Inherits JSON::Serializable < Struct < Value < Object

Model representing a BenefitDiscordCreateProperties

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_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