mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-17 10:58:58 -07:00
906f701fa8
* Convert CollectionType, SpecialFolderType to enum * Hide internal enum CollectionType values * Apply suggestions from code review Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com> * Fix recent change * Update Jellyfin.Data/Attributes/OpenApiIgnoreEnumAttribute.cs Co-authored-by: Patrick Barron <barronpm@gmail.com> --------- Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com> Co-authored-by: Patrick Barron <barronpm@gmail.com>
36 lines
1.1 KiB
C#
36 lines
1.1 KiB
C#
#pragma warning disable CS1591
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using Jellyfin.Data.Enums;
|
|
using MediaBrowser.Model.Entities;
|
|
using MediaBrowser.Model.Globalization;
|
|
using MediaBrowser.Model.Providers;
|
|
|
|
namespace MediaBrowser.Model.Dto
|
|
{
|
|
public class MetadataEditorInfo
|
|
{
|
|
public MetadataEditorInfo()
|
|
{
|
|
ParentalRatingOptions = Array.Empty<ParentalRating>();
|
|
Countries = Array.Empty<CountryInfo>();
|
|
Cultures = Array.Empty<CultureDto>();
|
|
ExternalIdInfos = Array.Empty<ExternalIdInfo>();
|
|
ContentTypeOptions = Array.Empty<NameValuePair>();
|
|
}
|
|
|
|
public IReadOnlyList<ParentalRating> ParentalRatingOptions { get; set; }
|
|
|
|
public IReadOnlyList<CountryInfo> Countries { get; set; }
|
|
|
|
public IReadOnlyList<CultureDto> Cultures { get; set; }
|
|
|
|
public IReadOnlyList<ExternalIdInfo> ExternalIdInfos { get; set; }
|
|
|
|
public CollectionType? ContentType { get; set; }
|
|
|
|
public IReadOnlyList<NameValuePair> ContentTypeOptions { get; set; }
|
|
}
|
|
}
|