| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 | using MediaBrowser.Model.Entities;namespace MediaBrowser.Model.Querying{    /// <summary>    /// Class ItemsByNameQuery    /// </summary>    public class ItemsByNameQuery    {        /// <summary>        /// Gets or sets the user id.        /// </summary>        /// <value>The user id.</value>        public string UserId { get; set; }        /// <summary>        /// Gets or sets the start index.        /// </summary>        /// <value>The start index.</value>        public int? StartIndex { get; set; }        /// <summary>        /// Gets or sets the size of the page.        /// </summary>        /// <value>The size of the page.</value>        public int? Limit { get; set; }        /// <summary>        /// Gets or sets a value indicating whether this <see cref="ItemsByNameQuery" /> is recursive.        /// </summary>        /// <value><c>true</c> if recursive; otherwise, <c>false</c>.</value>        public bool Recursive { get; set; }        /// <summary>        /// Gets or sets the sort order.        /// </summary>        /// <value>The sort order.</value>        public SortOrder? SortOrder { get; set; }        /// <summary>        /// Gets or sets the parent id.        /// </summary>        /// <value>The parent id.</value>        public string ParentId { get; set; }        /// <summary>        /// Fields to return within the items, in addition to basic information        /// </summary>        /// <value>The fields.</value>        public ItemFields[] Fields { get; set; }        /// <summary>        /// Gets or sets the filters.        /// </summary>        /// <value>The filters.</value>        public ItemFilter[] Filters { get; set; }        /// <summary>        /// Gets or sets the exclude item types.        /// </summary>        /// <value>The exclude item types.</value>        public string[] ExcludeItemTypes { get; set; }        /// <summary>        /// Gets or sets the include item types.        /// </summary>        /// <value>The include item types.</value>        public string[] IncludeItemTypes { get; set; }        /// <summary>        /// Gets or sets the media types.        /// </summary>        /// <value>The media types.</value>        public string[] MediaTypes { get; set; }        /// <summary>        /// What to sort the results by        /// </summary>        /// <value>The sort by.</value>        public string[] SortBy { get; set; }        /// <summary>        /// Gets or sets the image types.        /// </summary>        /// <value>The image types.</value>        public ImageType[] ImageTypes { get; set; }        /// <summary>        /// Gets or sets the name starts with or greater.        /// </summary>        /// <value>The name starts with or greater.</value>        public string NameStartsWithOrGreater { get; set; }        /// <summary>        /// Gets or sets the name starts with        /// </summary>        /// <value>The name starts with or greater.</value>        public string NameStartsWith { get; set; }        /// <summary>        /// Gets or sets the name less than.        /// </summary>        /// <value>The name less than.</value>        public string NameLessThan { get; set; }        /// <summary>        /// Gets or sets a value indicating whether this instance is played.        /// </summary>        /// <value><c>null</c> if [is played] contains no value, <c>true</c> if [is played]; otherwise, <c>false</c>.</value>        public bool? IsPlayed { get; set; }        /// <summary>        /// Gets or sets a value indicating whether [enable images].        /// </summary>        /// <value><c>null</c> if [enable images] contains no value, <c>true</c> if [enable images]; otherwise, <c>false</c>.</value>        public bool? EnableImages { get; set; }        /// <summary>        /// Gets or sets the image type limit.        /// </summary>        /// <value>The image type limit.</value>        public int? ImageTypeLimit { get; set; }        /// <summary>        /// Gets or sets the enable image types.        /// </summary>        /// <value>The enable image types.</value>        public ImageType[] EnableImageTypes { get; set; }        /// <summary>        /// Initializes a new instance of the <see cref="ItemsByNameQuery" /> class.        /// </summary>        public ItemsByNameQuery()        {            ImageTypes = new ImageType[] { };            Filters = new ItemFilter[] { };            Fields = new ItemFields[] { };            Recursive = true;            MediaTypes = new string[] { };            SortBy = new string[] { };            ExcludeItemTypes = new string[] { };            IncludeItemTypes = new string[] { };            EnableImageTypes = new ImageType[] { };        }    }}
 |