aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/LibraryDtos/LibraryTypeOptionsDto.cs
blob: f76c4a9678945c18616f5e78162f2729c71e87d6 (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 MediaBrowser.Model.Configuration;
using MediaBrowser.Model.Entities;

namespace Jellyfin.Api.Models.LibraryDtos;

/// <summary>
/// Library type options dto.
/// </summary>
public class LibraryTypeOptionsDto
{
    /// <summary>
    /// Gets or sets the type.
    /// </summary>
    public string? Type { get; set; }

    /// <summary>
    /// Gets or sets the metadata fetchers.
    /// </summary>
    public IReadOnlyList<LibraryOptionInfoDto> MetadataFetchers { get; set; } = Array.Empty<LibraryOptionInfoDto>();

    /// <summary>
    /// Gets or sets the image fetchers.
    /// </summary>
    public IReadOnlyList<LibraryOptionInfoDto> ImageFetchers { get; set; } = Array.Empty<LibraryOptionInfoDto>();

    /// <summary>
    /// Gets or sets the supported image types.
    /// </summary>
    public IReadOnlyList<ImageType> SupportedImageTypes { get; set; } = Array.Empty<ImageType>();

    /// <summary>
    /// Gets or sets the default image options.
    /// </summary>
    public IReadOnlyList<ImageOption> DefaultImageOptions { get; set; } = Array.Empty<ImageOption>();
}