azala.info-scraper/azala.info Scraper/Card.cs

16 lines
536 B
C#
Raw Normal View History

2019-10-28 15:13:00 +01:00
using Newtonsoft.Json;
namespace azala.info_Scraper {
internal class Card {
[JsonProperty(PropertyName = "id")]
public long ID { get; set; }
[JsonProperty(PropertyName = "card_text")]
public string Text { get; set; }
[JsonProperty(PropertyName = "num_blanks")]
public int Blanks { get; set; }
[JsonProperty(PropertyName = "o")]
public int Order { get; set; }
[JsonProperty(PropertyName = "deck_id")]
public int DeckID { get; internal set; }
}
}