jellyfin-server/MediaBrowser.Model/News/NewsItem.cs

31 lines
744 B
C#
Raw Normal View History

2014-01-18 21:52:01 +00:00
using System;
using System.Collections.Generic;
namespace MediaBrowser.Model.News
{
public class NewsChannel
{
public string Title { get; set; }
public string Link { get; set; }
public string Description { get; set; }
public List<NewsItem> Items { get; set; }
}
public class NewsItem
{
public string Title { get; set; }
public string Link { get; set; }
public string Description { get; set; }
2014-01-19 04:25:01 +00:00
public string DescriptionHtml { get; set; }
2014-01-18 21:52:01 +00:00
public string Guid { get; set; }
public DateTime Date { get; set; }
}
public class NewsQuery
{
public int? StartIndex { get; set; }
public int? Limit { get; set; }
}
}