mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 11:34:57 +02:00
30 lines
744 B
C#
30 lines
744 B
C#
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 DescriptionHtml { 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; }
|
|
}
|
|
}
|