2014-01-06 01:59:21 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.LiveTv
|
2013-11-25 16:15:31 +00: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 02:53:48 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the user identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The user identifier.</value>
|
|
|
|
|
public string UserId { get; set; }
|
|
|
|
|
|
2014-01-06 01:59:21 +00:00
|
|
|
|
public DateTime? MinStartDate { get; set; }
|
|
|
|
|
|
|
|
|
|
public DateTime? MaxStartDate { get; set; }
|
|
|
|
|
|
|
|
|
|
public DateTime? MinEndDate { get; set; }
|
|
|
|
|
|
|
|
|
|
public DateTime? MaxEndDate { get; set; }
|
|
|
|
|
|
2013-11-25 16:15:31 +00:00
|
|
|
|
public ProgramQuery()
|
|
|
|
|
{
|
|
|
|
|
ChannelIdList = new string[] { };
|
|
|
|
|
}
|
|
|
|
|
}
|
2014-01-12 15:58:47 +00: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 16:15:31 +00:00
|
|
|
|
}
|