2014-05-08 20:26:20 +00:00
|
|
|
|
using MediaBrowser.Model.Entities;
|
|
|
|
|
using MediaBrowser.Model.Querying;
|
2014-06-07 21:06:01 +00:00
|
|
|
|
using System.Collections.Generic;
|
2014-05-08 20:26:20 +00:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.Channels
|
|
|
|
|
{
|
|
|
|
|
public class ChannelItemQuery
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the channel identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The channel identifier.</value>
|
|
|
|
|
public string ChannelId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the category identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The category identifier.</value>
|
2014-05-23 14:09:58 +00:00
|
|
|
|
public string FolderId { get; set; }
|
2014-05-08 20:26:20 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the user identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The user identifier.</value>
|
|
|
|
|
public string UserId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <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; }
|
|
|
|
|
|
|
|
|
|
public SortOrder? SortOrder { get; set; }
|
|
|
|
|
public string[] SortBy { get; set; }
|
|
|
|
|
public ItemFilter[] Filters { get; set; }
|
2014-06-07 21:06:01 +00:00
|
|
|
|
public List<ItemFields> Fields { get; set; }
|
2014-05-08 20:26:20 +00:00
|
|
|
|
|
|
|
|
|
public ChannelItemQuery()
|
|
|
|
|
{
|
|
|
|
|
Filters = new ItemFilter[] { };
|
|
|
|
|
SortBy = new string[] { };
|
2014-06-07 21:06:01 +00:00
|
|
|
|
Fields = new List<ItemFields>();
|
2014-05-08 20:26:20 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
2014-05-23 23:58:28 +00:00
|
|
|
|
|
2014-05-08 20:26:20 +00:00
|
|
|
|
}
|