struct Moxfield::Types::Card

Included Modules

Defined in:

moxfield/models/cards.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def _type : String | Nil #

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

[View source]
def arena_id : Int32 | Nil #

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

[View source]
def artist : String | Nil #

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

[View source]
def border_color : String #

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

[View source]
def card_faces : Array(CardFace) #

[View source]
def card_faces=(card_faces : Array(CardFace)) #

[View source]
def card_hoarder_url : String | Nil #

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

[View source]
def card_kingdom_foil_url : String | Nil #

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

[View source]
def card_kingdom_url : String | Nil #

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

[View source]
def card_market_url : String | Nil #

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

[View source]
def cardkingdom_foil_id : Int32 | Nil #

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

[View source]
def cardkingdom_id : Int32 | Nil #

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

[View source]
def cardmarket_id : Int32 | Nil #

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

[View source]
def cmc : Float32 #

[View source]
def cmc=(cmc : Float32) #

[View source]
def cn : String #

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

[View source]
def color_identity : Array(String) #

[View source]
def color_identity=(color_identity : Array(String)) #

[View source]
def color_indicator : Array(String) #

[View source]
def color_indicator=(color_indicator : Array(String)) #

[View source]
def colors : Array(String) #

[View source]
def colors=(colors : Array(String)) #

[View source]
def colorshifted : Bool #

[View source]
def colorshifted=(colorshifted : Bool) #

[View source]
def cool_stuff_inc_foil_url : String | Nil #

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

[View source]
def cool_stuff_inc_url : String | Nil #

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

[View source]
def default_finish : String #

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

[View source]
def digital : Bool #

[View source]
def digital=(digital : Bool) #

[View source]
def edhrec_rank : Int32 | Nil #

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

[View source]
def etched : Bool #

[View source]
def etched=(etched : Bool) #

[View source]
def flavor_text : String | Nil #

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

[View source]
def foil : Bool #

[View source]
def foil=(foil : Bool) #

[View source]
def frame : String | Nil #

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

[View source]
def frame_effects : Array(String) | Nil #

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

[View source]
def glossy : Bool #

[View source]
def glossy=(glossy : Bool) #

[View source]
def has_arena_legal : Bool #

[View source]
def has_arena_legal=(has_arena_legal : Bool) #

[View source]
def has_multiple_editions : Bool #

[View source]
def has_multiple_editions=(has_multiple_editions : Bool) #

[View source]
def id : String #

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

[View source]
def is_arena_legal : Bool #

[View source]
def is_arena_legal=(is_arena_legal : Bool) #

[View source]
def is_token : Bool #

[View source]
def is_token=(is_token : Bool) #

[View source]
def lang : String #

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

[View source]
def latest : Bool #

[View source]
def latest=(latest : Bool) #

[View source]
def layout : String #

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

[View source]
def legalities : Legalities #

[View source]
def legalities=(legalities : Legalities) #

[View source]
def loyalty : String | Nil #

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

[View source]
def mana_cost : String | Nil #

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

[View source]
def mtgo_id : Int32 | Nil #

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

[View source]
def multiverse_ids : Array(Int32) | Nil #

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

[View source]
def name : String #

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

[View source]
def nonfoil : Bool #

[View source]
def nonfoil=(nonfoil : Bool) #

[View source]
def oracle_text : String | Nil #

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

[View source]
def power : String | Nil #

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

[View source]
def prices : Prices #

[View source]
def prices=(prices : Prices) #

[View source]
def promo_types : Array(String) #

[View source]
def promo_types=(promo_types : Array(String)) #

[View source]
def rarity : String #

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

[View source]
def released_at : String | Nil #

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

[View source]
def reprint : Bool #

[View source]
def reprint=(reprint : Bool) #

[View source]
def reserved : Bool #

[View source]
def reserved=(reserved : Bool) #

[View source]
def scryfall_id : UUID #

[View source]
def scryfall_id=(scryfall_id : UUID) #

[View source]
def set : String #

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

[View source]
def set_name : String #

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

[View source]
def set_type : String | Nil #

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

[View source]
def tcg_player_url : String | Nil #

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

[View source]
def tcgplayer_id : Int32 | Nil #

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

[View source]
def toughness : String | Nil #

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

[View source]
def type_line : String | Nil #

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

[View source]
def unique_card_id : String #

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

[View source]