mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-05 21:37:10 -04:00
* 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; }
|
|
}
|
|
}
|