2020-02-04 00:49:27 +00:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2019-01-13 20:02:23 +00:00
|
|
|
using System;
|
2019-01-13 19:26:15 +00:00
|
|
|
using MediaBrowser.Model.Entities;
|
2018-12-27 23:27:57 +00:00
|
|
|
using MediaBrowser.Model.Querying;
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.Channels
|
|
|
|
{
|
|
|
|
public class ChannelQuery
|
|
|
|
{
|
|
|
|
/// <summary>
|
2021-02-20 22:13:04 +00:00
|
|
|
/// Gets or sets the fields to return within the items, in addition to basic information.
|
2018-12-27 23:27:57 +00:00
|
|
|
/// </summary>
|
|
|
|
/// <value>The fields.</value>
|
2021-10-26 11:56:30 +00:00
|
|
|
public ItemFields[]? Fields { get; set; }
|
2020-04-05 16:10:56 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public bool? EnableImages { get; set; }
|
2020-04-05 16:10:56 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public int? ImageTypeLimit { get; set; }
|
2020-04-05 16:10:56 +00:00
|
|
|
|
2021-10-26 11:56:30 +00:00
|
|
|
public ImageType[]? EnableImageTypes { get; set; }
|
2019-01-07 23:27:46 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the user identifier.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The user identifier.</value>
|
|
|
|
public Guid UserId { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
2021-02-20 22:13:04 +00:00
|
|
|
/// Gets or sets the start index. Use for paging.
|
2018-12-27 23:27:57 +00:00
|
|
|
/// </summary>
|
|
|
|
/// <value>The start index.</value>
|
|
|
|
public int? StartIndex { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
2021-02-20 22:13:04 +00:00
|
|
|
/// Gets or sets the maximum number of items to return.
|
2018-12-27 23:27:57 +00:00
|
|
|
/// </summary>
|
|
|
|
/// <value>The limit.</value>
|
|
|
|
public int? Limit { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets a value indicating whether [supports latest items].
|
|
|
|
/// </summary>
|
|
|
|
/// <value><c>true</c> if [supports latest items]; otherwise, <c>false</c>.</value>
|
|
|
|
public bool? SupportsLatestItems { get; set; }
|
|
|
|
|
|
|
|
public bool? SupportsMediaDeletion { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets a value indicating whether this instance is favorite.
|
|
|
|
/// </summary>
|
|
|
|
/// <value><c>null</c> if [is favorite] contains no value, <c>true</c> if [is favorite]; otherwise, <c>false</c>.</value>
|
|
|
|
public bool? IsFavorite { get; set; }
|
2020-04-05 16:10:56 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public bool? IsRecordingsFolder { get; set; }
|
2020-04-05 16:10:56 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public bool RefreshLatestChannelItems { get; set; }
|
|
|
|
}
|
|
|
|
}
|