struct Discord::Integration

Defined in:

discordcr/mappings/guild.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(__temp_451 : JSON::PullParser) #

Instance Method Detail

def account : IntegrationAccount #

def account=(_account : IntegrationAccount) #

def enabled : Bool #

def enabled=(_enabled : Bool) #

def expire_behavior #

[View source]
def expire_behaviour : UInt8 #

def expire_behaviour=(_expire_behaviour : UInt8) #

def expire_grace_period : Int32 #

def expire_grace_period=(_expire_grace_period : Int32) #

def id : Snowflake #

def id=(_id : Snowflake) #

def name : String #

def name=(_name : String) #

def role_id : Snowflake #

def role_id=(_role_id : Snowflake) #

def synced_at : Time #

def synced_at=(_synced_at : Time) #

def syncing : Bool #

def syncing=(_syncing : Bool) #

def to_json(json : JSON::Builder) #

def type : String #

def type=(_type : String) #

def user : User #

def user=(_user : User) #