using MediaBrowser.Model.Querying; using System.Collections.Generic; 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; } /// /// Gets or sets a value indicating whether [supports latest items]. /// /// true if [supports latest items]; otherwise, false. public bool? SupportsLatestItems { get; set; } } public class AllChannelMediaQuery { /// /// Gets or sets the channel ids. /// /// The channel ids. public string[] ChannelIds { 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; } /// /// Gets or sets the content types. /// /// The content types. public ChannelMediaContentType[] ContentTypes { get; set; } public AllChannelMediaQuery() { ChannelIds = new string[] { }; ContentTypes = new ChannelMediaContentType[] { }; Filters = new ItemFilter[] { }; Fields = new List(); } public ItemFilter[] Filters { get; set; } public List Fields { get; set; } } }