From a86b71899ec52c44ddc6c3018e8cc5e9d7ff4d62 Mon Sep 17 00:00:00 2001 From: Andrew Rabert Date: Thu, 27 Dec 2018 18:27:57 -0500 Subject: Add GPL modules --- MediaBrowser.Model/Channels/ChannelQuery.cs | 52 +++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 MediaBrowser.Model/Channels/ChannelQuery.cs (limited to 'MediaBrowser.Model/Channels/ChannelQuery.cs') diff --git a/MediaBrowser.Model/Channels/ChannelQuery.cs b/MediaBrowser.Model/Channels/ChannelQuery.cs new file mode 100644 index 000000000..6b5e95d69 --- /dev/null +++ b/MediaBrowser.Model/Channels/ChannelQuery.cs @@ -0,0 +1,52 @@ +using MediaBrowser.Model.Entities; +using MediaBrowser.Model.Querying; +using System; + +namespace MediaBrowser.Model.Channels +{ + public class ChannelQuery + { + /// + /// Fields to return within the items, in addition to basic information + /// + /// The fields. + public ItemFields[] Fields { get; set; } + public bool? EnableImages { get; set; } + public int? ImageTypeLimit { get; set; } + public ImageType[] EnableImageTypes { get; set; } + + /// + /// Gets or sets the user identifier. + /// + /// The user identifier. + public Guid 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 bool? SupportsMediaDeletion { get; set; } + + /// + /// Gets or sets a value indicating whether this instance is favorite. + /// + /// null if [is favorite] contains no value, true if [is favorite]; otherwise, false. + public bool? IsFavorite { get; set; } + public bool? IsRecordingsFolder { get; set; } + public bool RefreshLatestChannelItems { get; set; } + } +} -- cgit v1.2.3