MTG SDK Elixir v0.1.4 Mtg.Card View Source

Struct defining a card and its attributes and types

Link to this section Summary

Link to this section Types

Link to this type

t() View Source
t() :: %Mtg.Card{
  release_date: binary(),
  flavor: binary(),
  rarity: binary(),
  set: binary(),
  toughness: binary(),
  life: any(),
  cmc: number(),
  colors: [binary()],
  variations: [integer()],
  multiverseid: integer(),
  loyalty: binary(),
  subtypes: [binary()],
  hand: any(),
  mana_cost: binary(),
  image_url: binary(),
  layout: binary(),
  legalities: [Mtg.Card.Legality.t()],
  types: [binary()],
  rulings: [Mtg.Card.Ruling.t()],
  artist: binary(),
  name: binary(),
  timeshifted: boolean(),
  names: [binary()],
  reserved: boolean(),
  original_text: binary(),
  color_identity: [binary()],
  type: binary(),
  set_name: binary(),
  starter: boolean(),
  text: binary(),
  original_type: binary(),
  foreign_names: [Mtg.Card.ForeignName.t()],
  border: binary(),
  printings: [binary()],
  supertypes: [binary()],
  number: binary(),
  source: binary(),
  power: binary(),
  watermark: any(),
  id: binary()
}