NewsItem.cs 744 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Collections.Generic;
  3. namespace MediaBrowser.Model.News
  4. {
  5. public class NewsChannel
  6. {
  7. public string Title { get; set; }
  8. public string Link { get; set; }
  9. public string Description { get; set; }
  10. public List<NewsItem> Items { get; set; }
  11. }
  12. public class NewsItem
  13. {
  14. public string Title { get; set; }
  15. public string Link { get; set; }
  16. public string Description { get; set; }
  17. public string DescriptionHtml { get; set; }
  18. public string Guid { get; set; }
  19. public DateTime Date { get; set; }
  20. }
  21. public class NewsQuery
  22. {
  23. public int? StartIndex { get; set; }
  24. public int? Limit { get; set; }
  25. }
  26. }