Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class NewsFeed
- {
- [JsonProperty("articles")]
- public Article[] Articles { get; set; }
- [JsonProperty("description")]
- public string Description { get; set; }
- [JsonProperty("syndication_url")]
- public string SyndicationUrl { get; set; }
- [JsonProperty("title")]
- public string Title { get; set; }
- }
- public class Article
- {
- [JsonProperty("author")]
- public string Author { get; set; }
- [JsonProperty("publish_date")]
- public string PublishDate { get; set; }
- [JsonProperty("source")]
- public string Source { get; set; }
- [JsonProperty("source_url")]
- public string SourceUrl { get; set; }
- [JsonProperty("summary")]
- public string Summary { get; set; }
- [JsonProperty("title")]
- public string Title { get; set; }
- [JsonProperty("url")]
- public string Url { get; set; }
- [JsonProperty("enclosures")]
- public Enclosure[] Enclosures { get; set; }
- }
- public class Enclosure
- {
- [JsonProperty("length")]
- public int Length { get; set; }
- [JsonProperty("media_type")]
- public string MediaType { get; set; }
- [JsonProperty("uri")]
- public string Uri { get; set; }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement