2020-02-04 00:49:27 +00:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2019-01-13 20:02:23 +00:00
|
|
|
using System;
|
2024-05-15 16:12:42 +00:00
|
|
|
using Jellyfin.Data.Entities;
|
2023-11-09 21:00:29 +00:00
|
|
|
using Jellyfin.Data.Enums;
|
2018-12-27 23:27:57 +00:00
|
|
|
|
|
|
|
namespace MediaBrowser.Model.Library
|
|
|
|
{
|
|
|
|
public class UserViewQuery
|
|
|
|
{
|
2020-04-05 16:10:56 +00:00
|
|
|
public UserViewQuery()
|
|
|
|
{
|
|
|
|
IncludeExternalContent = true;
|
2023-11-09 21:00:29 +00:00
|
|
|
PresetViews = Array.Empty<CollectionType?>();
|
2020-04-05 16:10:56 +00:00
|
|
|
}
|
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
/// <summary>
|
2024-05-15 16:12:42 +00:00
|
|
|
/// Gets or sets the user.
|
2018-12-27 23:27:57 +00:00
|
|
|
/// </summary>
|
2024-05-15 16:12:42 +00:00
|
|
|
/// <value>The user.</value>
|
|
|
|
public required User User { get; set; }
|
2018-12-27 23:27:57 +00:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets a value indicating whether [include external content].
|
|
|
|
/// </summary>
|
|
|
|
/// <value><c>true</c> if [include external content]; otherwise, <c>false</c>.</value>
|
|
|
|
public bool IncludeExternalContent { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets a value indicating whether [include hidden].
|
|
|
|
/// </summary>
|
|
|
|
/// <value><c>true</c> if [include hidden]; otherwise, <c>false</c>.</value>
|
|
|
|
public bool IncludeHidden { get; set; }
|
|
|
|
|
2023-11-09 21:00:29 +00:00
|
|
|
public CollectionType?[] PresetViews { get; set; }
|
2018-12-27 23:27:57 +00:00
|
|
|
}
|
|
|
|
}
|