2014-09-01 20:10:54 +00:00
|
|
|
|
using MediaBrowser.Model.Entities;
|
|
|
|
|
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; }
|
|
|
|
|
|
|
|
|
|
public Func<BaseItem, User, bool> Filter { get; set; }
|
|
|
|
|
|
|
|
|
|
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; }
|
|
|
|
|
|
|
|
|
|
public InternalItemsQuery()
|
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-09-01 20:10:54 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|