Blizzard Api Wrapper for C#

Auction.cs 849B

12345678910111213141516171819202122232425262728293031323334
  1. using Newtonsoft.Json;
  2. namespace BlizzSharp.Data
  3. {
  4. // {"auc":527048554,"item":152507,"owner":"Fîrî","ownerRealm":"Arygos","bid":800100,"buyout":835000,"quantity":1,"timeLeft":"VERY_LONG","rand":0,"seed":0,"context":0}
  5. public class Auction
  6. {
  7. [JsonProperty("auc")]
  8. public long Id {get;set;}
  9. [JsonProperty("item")]
  10. public long Item{get;set;}
  11. [JsonProperty("owner")]
  12. public string Owner {get;set;}
  13. [JsonProperty("ownerRealm")]
  14. public string OwnerRealm {get;set;}
  15. [JsonProperty("bid")]
  16. public long Bid {get;set;}
  17. [JsonProperty("buyout")]
  18. public long Buyout {get;set;}
  19. [JsonProperty("quantity")]
  20. public int quantity {get;set;}
  21. [JsonProperty("timeLeft")]
  22. public string TimeLeft {get;set;}
  23. }
  24. }