using MediaBrowser.Model.Entities; using MediaBrowser.Model.Querying; namespace MediaBrowser.Model.Channels { public class ChannelQuery { /// /// Gets or sets the user identifier. /// /// The user identifier. public string UserId { get; set; } /// /// Skips over a given number of items within the results. Use for paging. /// /// The start index. public int? StartIndex { get; set; } /// /// The maximum number of items to return /// /// The limit. public int? Limit { get; set; } } public class ChannelItemQuery { /// /// Gets or sets the channel identifier. /// /// The channel identifier. public string ChannelId { get; set; } /// /// Gets or sets the category identifier. /// /// The category identifier. public string CategoryId { get; set; } /// /// Gets or sets the user identifier. /// /// The user identifier. public string UserId { get; set; } /// /// Skips over a given number of items within the results. Use for paging. /// /// The start index. public int? StartIndex { get; set; } /// /// The maximum number of items to return /// /// The limit. public int? Limit { get; set; } public SortOrder? SortOrder { get; set; } public string[] SortBy { get; set; } public ItemFilter[] Filters { get; set; } public ChannelItemQuery() { Filters = new ItemFilter[] { }; SortBy = new string[] { }; } } }