aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/LibraryDtos/LibraryOptionsResultDto.cs
blob: 33eda33cb9cdf3ae32b53274a40bc682713b346f (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
using System.Diagnostics.CodeAnalysis;

namespace Jellyfin.Api.Models.LibraryDtos
{
    /// <summary>
    /// Library options result dto.
    /// </summary>
    public class LibraryOptionsResultDto
    {
        /// <summary>
        /// Gets or sets the metadata savers.
        /// </summary>
        [SuppressMessage("Microsoft.Performance", "CA1819:ReturnArrays", MessageId = "MetadataSavers", Justification = "Imported from ServiceStack")]
        public LibraryOptionInfoDto[] MetadataSavers { get; set; } = null!;

        /// <summary>
        /// Gets or sets the metadata readers.
        /// </summary>
        [SuppressMessage("Microsoft.Performance", "CA1819:ReturnArrays", MessageId = "MetadataReaders", Justification = "Imported from ServiceStack")]
        public LibraryOptionInfoDto[] MetadataReaders { get; set; } = null!;

        /// <summary>
        /// Gets or sets the subtitle fetchers.
        /// </summary>
        [SuppressMessage("Microsoft.Performance", "CA1819:ReturnArrays", MessageId = "SubtitleFetchers", Justification = "Imported from ServiceStack")]
        public LibraryOptionInfoDto[] SubtitleFetchers { get; set; } = null!;

        /// <summary>
        /// Gets or sets the type options.
        /// </summary>
        [SuppressMessage("Microsoft.Performance", "CA1819:ReturnArrays", MessageId = "TypeOptions", Justification = "Imported from ServiceStack")]
        public LibraryTypeOptionsDto[] TypeOptions { get; set; } = null!;
    }
}