2015-07-14 19:04:16 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using MediaBrowser.Model.Entities;
|
2014-09-01 20:10:54 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Entities
|
|
|
|
|
{
|
2014-10-06 23:58:46 +00:00
|
|
|
|
public class InternalItemsQuery
|
2014-09-01 20:10:54 +00:00
|
|
|
|
{
|
|
|
|
|
public bool Recursive { get; set; }
|
|
|
|
|
|
|
|
|
|
public int? StartIndex { get; set; }
|
|
|
|
|
|
|
|
|
|
public int? Limit { get; set; }
|
|
|
|
|
|
|
|
|
|
public string[] SortBy { get; set; }
|
|
|
|
|
|
|
|
|
|
public SortOrder SortOrder { get; set; }
|
|
|
|
|
|
|
|
|
|
public User User { get; set; }
|
|
|
|
|
|
2015-01-25 06:34:50 +00:00
|
|
|
|
public Func<BaseItem, bool> Filter { get; set; }
|
2014-09-01 20:10:54 +00:00
|
|
|
|
|
|
|
|
|
public bool? IsFolder { get; set; }
|
|
|
|
|
public bool? IsFavorite { get; set; }
|
2014-10-06 23:58:46 +00:00
|
|
|
|
public bool? IsFavoriteOrLiked { get; set; }
|
|
|
|
|
public bool? IsLiked { get; set; }
|
2014-09-01 20:10:54 +00:00
|
|
|
|
public bool? IsPlayed { get; set; }
|
|
|
|
|
public bool? IsResumable { get; set; }
|
|
|
|
|
|
|
|
|
|
public string[] MediaTypes { get; set; }
|
2014-10-06 23:58:46 +00:00
|
|
|
|
public string[] IncludeItemTypes { get; set; }
|
|
|
|
|
public string[] ExcludeItemTypes { get; set; }
|
2014-10-08 01:37:45 +00:00
|
|
|
|
public string[] Genres { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool? IsMissing { get; set; }
|
|
|
|
|
public bool? IsUnaired { get; set; }
|
|
|
|
|
public bool? IsVirtualUnaired { get; set; }
|
|
|
|
|
public bool? CollapseBoxSetItems { get; set; }
|
|
|
|
|
|
|
|
|
|
public string NameStartsWithOrGreater { get; set; }
|
|
|
|
|
public string NameStartsWith { get; set; }
|
|
|
|
|
public string NameLessThan { get; set; }
|
2015-07-18 19:32:59 +00:00
|
|
|
|
public string NameContains { get; set; }
|
2014-10-08 01:37:45 +00:00
|
|
|
|
|
|
|
|
|
public string Person { get; set; }
|
2015-03-18 16:40:16 +00:00
|
|
|
|
public string[] PersonIds { get; set; }
|
2015-07-14 19:04:16 +00:00
|
|
|
|
public string[] ItemIds { get; set; }
|
2014-10-08 01:37:45 +00:00
|
|
|
|
public string AdjacentTo { get; set; }
|
|
|
|
|
public string[] PersonTypes { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool? Is3D { get; set; }
|
|
|
|
|
public bool? IsHD { get; set; }
|
|
|
|
|
public bool? IsInBoxSet { get; set; }
|
|
|
|
|
public bool? IsLocked { get; set; }
|
|
|
|
|
public bool? IsUnidentified { get; set; }
|
|
|
|
|
public bool? IsPlaceHolder { get; set; }
|
|
|
|
|
public bool? IsYearMismatched { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool? HasImdbId { get; set; }
|
|
|
|
|
public bool? HasOverview { get; set; }
|
|
|
|
|
public bool? HasTmdbId { get; set; }
|
|
|
|
|
public bool? HasOfficialRating { get; set; }
|
|
|
|
|
public bool? HasTvdbId { get; set; }
|
|
|
|
|
public bool? HasThemeSong { get; set; }
|
|
|
|
|
public bool? HasThemeVideo { get; set; }
|
|
|
|
|
public bool? HasSubtitles { get; set; }
|
|
|
|
|
public bool? HasSpecialFeature { get; set; }
|
|
|
|
|
public bool? HasTrailer { get; set; }
|
|
|
|
|
public bool? HasParentalRating { get; set; }
|
|
|
|
|
|
|
|
|
|
public string[] Studios { get; set; }
|
2015-03-13 18:45:03 +00:00
|
|
|
|
public string[] StudioIds { get; set; }
|
2014-10-08 01:37:45 +00:00
|
|
|
|
public ImageType[] ImageTypes { get; set; }
|
|
|
|
|
public VideoType[] VideoTypes { get; set; }
|
|
|
|
|
public int[] Years { get; set; }
|
2014-11-10 04:20:11 +00:00
|
|
|
|
public string[] Tags { get; set; }
|
|
|
|
|
public string[] OfficialRatings { get; set; }
|
2014-10-06 23:58:46 +00:00
|
|
|
|
|
2015-06-01 14:49:23 +00:00
|
|
|
|
public DateTime? MinStartDate { get; set; }
|
|
|
|
|
public DateTime? MaxStartDate { get; set; }
|
|
|
|
|
public DateTime? MinEndDate { get; set; }
|
|
|
|
|
public DateTime? MaxEndDate { get; set; }
|
|
|
|
|
public bool? IsAiring { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool? IsMovie { get; set; }
|
|
|
|
|
public bool? IsSports { get; set; }
|
2015-06-01 17:49:11 +00:00
|
|
|
|
public bool? IsKids { get; set; }
|
2015-07-14 19:04:16 +00:00
|
|
|
|
|
|
|
|
|
public int? MinPlayers { get; set; }
|
|
|
|
|
public int? MaxPlayers { get; set; }
|
|
|
|
|
public double? MinCriticRating { get; set; }
|
|
|
|
|
public double? MinCommunityRating { get; set; }
|
|
|
|
|
|
2015-06-01 14:49:23 +00:00
|
|
|
|
public string[] ChannelIds { get; set; }
|
2015-07-14 19:04:16 +00:00
|
|
|
|
|
|
|
|
|
internal List<Guid> ItemIdsFromPersonFilters { get; set; }
|
|
|
|
|
|
2014-10-06 23:58:46 +00:00
|
|
|
|
public InternalItemsQuery()
|
2014-09-01 20:10:54 +00:00
|
|
|
|
{
|
2014-11-10 04:20:11 +00:00
|
|
|
|
Tags = new string[] { };
|
|
|
|
|
OfficialRatings = new string[] { };
|
2014-09-01 20:10:54 +00:00
|
|
|
|
SortBy = new string[] { };
|
|
|
|
|
MediaTypes = new string[] { };
|
2014-10-06 23:58:46 +00:00
|
|
|
|
IncludeItemTypes = new string[] { };
|
|
|
|
|
ExcludeItemTypes = new string[] { };
|
2014-10-08 01:37:45 +00:00
|
|
|
|
Genres = new string[] { };
|
|
|
|
|
Studios = new string[] { };
|
2015-03-13 18:45:03 +00:00
|
|
|
|
StudioIds = new string[] { };
|
2014-10-08 01:37:45 +00:00
|
|
|
|
ImageTypes = new ImageType[] { };
|
|
|
|
|
VideoTypes = new VideoType[] { };
|
|
|
|
|
Years = new int[] { };
|
|
|
|
|
PersonTypes = new string[] { };
|
2015-03-18 16:40:16 +00:00
|
|
|
|
PersonIds = new string[] { };
|
2015-06-01 14:49:23 +00:00
|
|
|
|
ChannelIds = new string[] { };
|
2015-07-14 19:04:16 +00:00
|
|
|
|
ItemIds = new string[] { };
|
2014-09-01 20:10:54 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|