jellyfin/MediaBrowser.Model/News/NewsItem.cs

30 lines
692 B
C#
Raw Normal View History

2014-01-18 14:52:01 -07: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; }
public string Guid { get; set; }
public DateTime Date { get; set; }
}
public class NewsQuery
{
public int? StartIndex { get; set; }
public int? Limit { get; set; }
}
}