struct Abartos::Resource::User

Included Modules

Defined in:

abartos/resource.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def accent_color : String | Nil #

[View source]
def accent_color=(accent_color : String | Nil) #

[View source]
def avatar : String | Nil #

[View source]
def avatar=(avatar : String | Nil) #

[View source]
def banner : String | Nil #

[View source]
def banner=(banner : String | Nil) #

[View source]
def bot : Bool | Nil #

[View source]
def bot=(bot : Bool | Nil) #

[View source]
def discriminator : String #

[View source]
def discriminator=(discriminator : String) #

[View source]
def flags : UserFlags | Nil #

[View source]
def flags=(flags : UserFlags | Nil) #

[View source]
def id : Snowflake #

[View source]
def id=(id : Snowflake) #

[View source]
def locale : String | Nil #

[View source]
def locale=(locale : String | Nil) #

[View source]
def mfa_enabled : Bool | Nil #

[View source]
def mfa_enabled=(mfa_enabled : Bool | Nil) #

[View source]
def premium_type : Int32 | Nil #

[View source]
def premium_type=(premium_type : Int32 | Nil) #

[View source]
def public_flags : UserFlags | Nil #

[View source]
def public_flags=(public_flags : UserFlags | Nil) #

[View source]
def system : Bool | Nil #

[View source]
def system=(system : Bool | Nil) #

[View source]
def username : String #

[View source]
def username=(username : String) #

[View source]