jellyfin/MediaBrowser.Model/LiveTv/ProgramQuery.cs

63 lines
1.8 KiB
C#
Raw Normal View History

2014-01-06 02:59:21 +01:00
using System;
namespace MediaBrowser.Model.LiveTv
2013-11-25 17:15:31 +01:00
{
/// <summary>
/// Class ProgramQuery.
/// </summary>
public class ProgramQuery
{
/// <summary>
/// Gets or sets the channel identifier.
/// </summary>
/// <value>The channel identifier.</value>
public string[] ChannelIdList { get; set; }
2013-11-26 03:53:48 +01:00
/// <summary>
/// Gets or sets the user identifier.
/// </summary>
/// <value>The user identifier.</value>
public string UserId { get; set; }
2014-01-06 02:59:21 +01:00
public DateTime? MinStartDate { get; set; }
public DateTime? MaxStartDate { get; set; }
public DateTime? MinEndDate { get; set; }
public DateTime? MaxEndDate { get; set; }
2013-11-25 17:15:31 +01:00
public ProgramQuery()
{
ChannelIdList = new string[] { };
}
}
2014-01-12 16:58:47 +01:00
public class RecommendedProgramQuery
{
/// <summary>
/// Gets or sets the user identifier.
/// </summary>
/// <value>The user identifier.</value>
public string UserId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is airing.
/// </summary>
/// <value><c>true</c> if this instance is airing; otherwise, <c>false</c>.</value>
public bool? IsAiring { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance has aired.
/// </summary>
/// <value><c>null</c> if [has aired] contains no value, <c>true</c> if [has aired]; otherwise, <c>false</c>.</value>
public bool? HasAired { get; set; }
/// <summary>
/// The maximum number of items to return
/// </summary>
/// <value>The limit.</value>
public int? Limit { get; set; }
}
2013-11-25 17:15:31 +01:00
}