2014-01-11 23:07:56 +00:00
|
|
|
|
using MediaBrowser.Model.Entities;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.LiveTv
|
2013-11-15 21:31:33 +00:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Class RecordingQuery.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class RecordingQuery
|
|
|
|
|
{
|
2013-11-26 21:36:11 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the channel identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The channel identifier.</value>
|
2013-11-25 20:39:23 +00:00
|
|
|
|
public string ChannelId { get; set; }
|
2013-12-15 01:17:57 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the user identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The user identifier.</value>
|
|
|
|
|
public string UserId { get; set; }
|
2013-12-19 21:51:32 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The identifier.</value>
|
|
|
|
|
public string Id { get; set; }
|
2013-12-28 21:37:01 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the group identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The group identifier.</value>
|
|
|
|
|
public string GroupId { get; set; }
|
2013-12-28 23:09:24 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Skips over a given number of items within the results. Use for paging.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The start index.</value>
|
|
|
|
|
public int? StartIndex { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The maximum number of items to return
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The limit.</value>
|
|
|
|
|
public int? Limit { get; set; }
|
2014-01-01 18:26:31 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2014-01-15 15:18:31 +00:00
|
|
|
|
/// Gets or sets the status.
|
2014-01-01 18:26:31 +00:00
|
|
|
|
/// </summary>
|
2014-01-15 15:18:31 +00:00
|
|
|
|
/// <value>The status.</value>
|
|
|
|
|
public RecordingStatus? Status { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets a value indicating whether this instance is in progress.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value><c>null</c> if [is in progress] contains no value, <c>true</c> if [is in progress]; otherwise, <c>false</c>.</value>
|
|
|
|
|
public bool? IsInProgress { get; set; }
|
2014-01-08 05:25:21 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the series timer identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The series timer identifier.</value>
|
|
|
|
|
public string SeriesTimerId { get; set; }
|
2013-12-28 21:37:01 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class RecordingGroupQuery
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the user identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The user identifier.</value>
|
|
|
|
|
public string UserId { get; set; }
|
2013-11-15 21:31:33 +00:00
|
|
|
|
}
|
2013-11-27 19:04:19 +00:00
|
|
|
|
|
|
|
|
|
public class TimerQuery
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the channel identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The channel identifier.</value>
|
|
|
|
|
public string ChannelId { get; set; }
|
2014-01-08 05:25:21 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the series timer identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The series timer identifier.</value>
|
|
|
|
|
public string SeriesTimerId { get; set; }
|
2013-11-27 19:04:19 +00:00
|
|
|
|
}
|
2013-12-15 01:17:57 +00:00
|
|
|
|
|
|
|
|
|
public class SeriesTimerQuery
|
|
|
|
|
{
|
2014-01-11 23:07:56 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the sort by - SortName, Priority
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The sort by.</value>
|
|
|
|
|
public string SortBy { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the sort order.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The sort order.</value>
|
|
|
|
|
public SortOrder SortOrder { get; set; }
|
2013-12-15 01:17:57 +00:00
|
|
|
|
}
|
2013-11-15 21:31:33 +00:00
|
|
|
|
}
|