2020-11-12 16:29:42 +01:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
2020-06-19 21:10:10 +02:00
|
|
|
|
using MediaBrowser.Model.Configuration;
|
|
|
|
|
using MediaBrowser.Model.Entities;
|
|
|
|
|
|
2023-01-31 12:18:10 +01:00
|
|
|
|
namespace Jellyfin.Api.Models.LibraryDtos;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Library type options dto.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class LibraryTypeOptionsDto
|
2020-06-19 21:10:10 +02:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2023-01-31 12:18:10 +01:00
|
|
|
|
/// Gets or sets the type.
|
2020-06-19 21:10:10 +02:00
|
|
|
|
/// </summary>
|
2023-01-31 12:18:10 +01:00
|
|
|
|
public string? Type { get; set; }
|
2020-06-19 21:10:10 +02:00
|
|
|
|
|
2023-01-31 12:18:10 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the metadata fetchers.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public IReadOnlyList<LibraryOptionInfoDto> MetadataFetchers { get; set; } = Array.Empty<LibraryOptionInfoDto>();
|
2020-06-19 21:10:10 +02:00
|
|
|
|
|
2023-01-31 12:18:10 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the image fetchers.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public IReadOnlyList<LibraryOptionInfoDto> ImageFetchers { get; set; } = Array.Empty<LibraryOptionInfoDto>();
|
2020-06-19 21:10:10 +02:00
|
|
|
|
|
2023-01-31 12:18:10 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the supported image types.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public IReadOnlyList<ImageType> SupportedImageTypes { get; set; } = Array.Empty<ImageType>();
|
2020-06-19 21:10:10 +02:00
|
|
|
|
|
2023-01-31 12:18:10 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the default image options.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public IReadOnlyList<ImageOption> DefaultImageOptions { get; set; } = Array.Empty<ImageOption>();
|
2020-06-19 21:10:10 +02:00
|
|
|
|
}
|