Advertisement
Guest User

Untitled

a guest
Jul 19th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.37 KB | None | 0 0
  1. public partial class Welcome
  2. {
  3. [JsonProperty("cod", NullValueHandling = NullValueHandling.Ignore)]
  4. [JsonConverter(typeof(ParseStringConverter))]
  5. public long? Cod { get; set; }
  6.  
  7. //[JsonProperty("message", NullValueHandling = NullValueHandling.Ignore)]
  8. //public string Message { get; set; }
  9.  
  10. [JsonProperty("cnt", NullValueHandling = NullValueHandling.Ignore)]
  11. public long? Cnt { get; set; }
  12.  
  13. [JsonProperty("list", NullValueHandling = NullValueHandling.Ignore)]
  14. public List<List> List { get; set; }
  15.  
  16. [JsonProperty("city", NullValueHandling = NullValueHandling.Ignore)]
  17. public City City { get; set; }
  18. }
  19. public partial class List
  20. {
  21. [JsonProperty("dt", NullValueHandling = NullValueHandling.Ignore)]
  22. public long? Dt { get; set; }
  23.  
  24. [JsonProperty("main", NullValueHandling = NullValueHandling.Ignore)]
  25. public MainClass Main { get; set; }
  26.  
  27. [JsonProperty("weather", NullValueHandling = NullValueHandling.Ignore)]
  28. public List<Weather> Weather { get; set; }
  29.  
  30. [JsonProperty("clouds", NullValueHandling = NullValueHandling.Ignore)]
  31. public Clouds Clouds { get; set; }
  32.  
  33. [JsonProperty("wind", NullValueHandling = NullValueHandling.Ignore)]
  34. public Wind Wind { get; set; }
  35.  
  36. [JsonProperty("sys", NullValueHandling = NullValueHandling.Ignore)]
  37. public Sys Sys { get; set; }
  38.  
  39. [JsonProperty("dt_txt", NullValueHandling = NullValueHandling.Ignore)]
  40. public DateTimeOffset? DtTxt { get; set; }
  41.  
  42. [JsonProperty("rain", NullValueHandling = NullValueHandling.Ignore)]
  43. public Rain Rain { get; set; }
  44.  
  45. [JsonProperty("snow", NullValueHandling = NullValueHandling.Ignore)]
  46. public Rain Snow { get; set; }
  47.  
  48. }
  49. public partial class Weather
  50. {
  51. [JsonProperty("id", NullValueHandling = NullValueHandling.Ignore)]
  52. public long? Id { get; set; }
  53.  
  54. [JsonProperty("main", NullValueHandling = NullValueHandling.Ignore)]
  55. public MainEnum? Main { get; set; }
  56.  
  57. //[JsonProperty("description", NullValueHandling = NullValueHandling.Ignore)]
  58. //public Description? Description { get; set; }
  59.  
  60. [JsonProperty("icon", NullValueHandling = NullValueHandling.Ignore)]
  61. public string Icon { get; set; }
  62. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement