55namespace ScryfallApi . Client . Models
66{
77 /// <summary>
8- /// Card objects represent individual Magic: The Gathering cards that players could obtain
9- /// and add to their collection (with a few minor exceptions).
8+ /// Card objects represent individual Magic: The Gathering cards that players could obtain and
9+ /// add to their collection (with a few minor exceptions).
1010 /// </summary>
1111 public class Card : BaseItem
1212 {
@@ -20,15 +20,15 @@ public class Card : BaseItem
2020
2121 /// <summary>
2222 /// This card’s multiverse IDs on Gatherer, if any, as an array of integers. Note that
23- /// Scryfall includes many promo cards, tokens, and other esoteric objects that do not
24- /// have these identifiers.
23+ /// Scryfall includes many promo cards, tokens, and other esoteric objects that do not have
24+ /// these identifiers.
2525 /// </summary>
2626 [ JsonProperty ( "multiverse_ids" ) ]
2727 public int [ ] MultiverseIds { get ; set ; }
2828
2929 /// <summary>
30- /// This card’s Magic Online ID (also known as the Catalog ID), if any. A large
31- /// percentage of cards are not available on Magic Online and do not have this ID
30+ /// This card’s Magic Online ID (also known as the Catalog ID), if any. A large percentage
31+ /// of cards are not available on Magic Online and do not have this ID
3232 /// </summary>
3333 [ JsonProperty ( "mtgo_id" ) ]
3434 public int MtgoId { get ; set ; }
@@ -53,8 +53,7 @@ public class Card : BaseItem
5353 public Uri ScryfallUri { get ; set ; }
5454
5555 /// <summary>
56- /// A link to where you can begin paginating all re/prints for this card on
57- /// Scryfall’s API.
56+ /// A link to where you can begin paginating all re/prints for this card on Scryfall’s API.
5857 /// </summary>
5958 [ JsonProperty ( "prints_search_uri" ) ]
6059 public Uri PrintsSearchUri { get ; set ; }
@@ -65,8 +64,7 @@ public class Card : BaseItem
6564 [ JsonProperty ( "rulings_uri" ) ]
6665 public Uri RulingsUri { get ; set ; }
6766
68- #endregion
69-
67+ #endregion Core Fields
7068
7169 #region Gameplay Fields
7270
@@ -103,15 +101,15 @@ public class Card : BaseItem
103101
104102 /// <summary>
105103 /// The mana cost for this card. This value will be any empty string "" if the cost is
106- /// absent. Remember that per the game rules, a missing mana cost and a mana cost of {0}
107- /// are different values.
104+ /// absent. Remember that per the game rules, a missing mana cost and a mana cost of {0} are
105+ /// different values.
108106 /// </summary>
109107 [ JsonProperty ( "mana_cost" ) ]
110108 public string ManaCost { get ; set ; }
111109
112110 /// <summary>
113- /// This card’s power, if any. Note that some cards have powers that are not numeric,
114- /// such as *.
111+ /// This card’s power, if any. Note that some cards have powers that are not numeric, such
112+ /// as *.
115113 /// </summary>
116114 [ JsonProperty ( "power" ) ]
117115 public string Power { get ; set ; }
@@ -124,22 +122,21 @@ public class Card : BaseItem
124122 public string Toughness { get ; set ; }
125123
126124 /// <summary>
127- /// This loyalty if any. Note that some cards have loyalties that are not numeric,
128- /// such as X.
125+ /// This loyalty if any. Note that some cards have loyalties that are not numeric, such as X.
129126 /// </summary>
130127 [ JsonProperty ( "loyalty" ) ]
131128 public string Loyalty { get ; set ; }
132129
133130 /// <summary>
134- /// This card’s life modifier, if it is Vanguard card. This value will contain a
135- /// delta, such as +2.
131+ /// This card’s life modifier, if it is Vanguard card. This value will contain a delta, such
132+ /// as +2.
136133 /// </summary>
137134 [ JsonProperty ( "life_modifier" ) ]
138135 public string LifeModifier { get ; set ; }
139136
140137 /// <summary>
141- /// This card’s hand modifier, if it is Vanguard card.This value will contain a
142- /// delta, such as -1.
138+ /// This card’s hand modifier, if it is Vanguard card.This value will contain a delta, such
139+ /// as -1.
143140 /// </summary>
144141 [ JsonProperty ( "hand_modifier" ) ]
145142 public string HandModifier { get ; set ; }
@@ -151,8 +148,8 @@ public class Card : BaseItem
151148 public string [ ] Colors { get ; set ; }
152149
153150 /// <summary>
154- /// The colors in this card’s color indicator, if any.A null value for this field
155- /// indicates the card does not have one.
151+ /// The colors in this card’s color indicator, if any.A null value for this field indicates
152+ /// the card does not have one.
156153 /// </summary>
157154 [ JsonProperty ( "color_indicator" ) ]
158155 public string [ ] ColorIndicator { get ; set ; }
@@ -164,8 +161,7 @@ public class Card : BaseItem
164161 public string [ ] ColorIdentity { get ; set ; }
165162
166163 /// <summary>
167- /// If this card is closely related to other cards, this property will be an
168- /// array with.
164+ /// If this card is closely related to other cards, this property will be an array with.
169165 /// </summary>
170166 [ JsonProperty ( "all_parts" ) ]
171167 public dynamic [ ] AllParts { get ; set ; }
@@ -194,8 +190,7 @@ public class Card : BaseItem
194190 [ JsonProperty ( "edhrec_rank" ) ]
195191 public int EdhrecRank { get ; set ; }
196192
197- #endregion
198-
193+ #endregion Gameplay Fields
199194
200195 #region Print Fields
201196
@@ -265,25 +260,20 @@ public class Card : BaseItem
265260 [ JsonProperty ( "futureshifted" ) ]
266261 public bool Futureshifted { get ; set ; }
267262
268- #endregion
269-
263+ #endregion Print Fields
270264
271265 #region Retail Fields
272266
273- [ JsonProperty ( "usd" ) ]
274- public string Usd { get ; set ; }
275-
276- [ JsonProperty ( "eur" ) ]
277- public string Eur { get ; set ; }
267+ [ JsonProperty ( "prices" ) ]
268+ public Price Price { get ; set ; }
278269
279270 [ JsonProperty ( "related_uris" ) ]
280271 public Dictionary < string , Uri > RelatedUris { get ; set ; }
281272
282273 [ JsonProperty ( "purchase_uris" ) ]
283274 public Dictionary < string , Uri > RetailerUris { get ; set ; }
284275
285- #endregion
286-
276+ #endregion Retail Fields
287277
288278 public override string ToString ( ) => Name +
289279 ( ! string . IsNullOrWhiteSpace ( ManaCost ) ? $ " ({ ManaCost } )" : "" ) +
0 commit comments