blob: 1ed3ceec16bf4ccd84ac9a787239b171abd3bb5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
using System;
using System.Collections.Generic;
using Jellyfin.Database.Implementations.Entities;
using MediaBrowser.Controller.Dto;
namespace MediaBrowser.Controller.Library;
/// <summary>
/// Query options for similar items requests.
/// </summary>
public class SimilarItemsQuery
{
/// <summary>
/// Gets or sets the user context.
/// </summary>
public User? User { get; set; }
/// <summary>
/// Gets or sets the maximum number of results.
/// </summary>
public int? Limit { get; set; }
/// <summary>
/// Gets or sets the DTO options.
/// </summary>
public DtoOptions? DtoOptions { get; set; }
/// <summary>
/// Gets or sets the item IDs to exclude from results.
/// </summary>
public IReadOnlyList<Guid> ExcludeItemIds { get; set; } = [];
/// <summary>
/// Gets or sets the artist IDs to exclude from results.
/// </summary>
public IReadOnlyList<Guid> ExcludeArtistIds { get; set; } = [];
}
|