Files
jellyfin-jellyfin-1/MediaBrowser.Model/Dto/MetadataEditorInfo.cs

56 lines
1.5 KiB
C#
Raw Normal View History

2022-01-22 15:40:05 +01:00
using System.Collections.Generic;
using Jellyfin.Data.Enums;
using MediaBrowser.Model.Entities;
2018-12-27 18:27:57 -05:00
using MediaBrowser.Model.Globalization;
using MediaBrowser.Model.Providers;
2025-03-31 05:51:54 +02:00
namespace MediaBrowser.Model.Dto;
/// <summary>
/// A class representing metadata editor information.
/// </summary>
public class MetadataEditorInfo
2018-12-27 18:27:57 -05:00
{
2025-03-31 05:51:54 +02:00
/// <summary>
/// Initializes a new instance of the <see cref="MetadataEditorInfo"/> class.
/// </summary>
public MetadataEditorInfo()
2018-12-27 18:27:57 -05:00
{
2025-03-31 05:51:54 +02:00
ParentalRatingOptions = [];
Countries = [];
Cultures = [];
ExternalIdInfos = [];
ContentTypeOptions = [];
2018-12-27 18:27:57 -05:00
}
2025-03-31 05:51:54 +02:00
/// <summary>
/// Gets or sets the parental rating options.
/// </summary>
public IReadOnlyList<ParentalRating> ParentalRatingOptions { get; set; }
/// <summary>
/// Gets or sets the countries.
/// </summary>
public IReadOnlyList<CountryInfo> Countries { get; set; }
/// <summary>
/// Gets or sets the cultures.
/// </summary>
public IReadOnlyList<CultureDto> Cultures { get; set; }
/// <summary>
/// Gets or sets the external id infos.
/// </summary>
public IReadOnlyList<ExternalIdInfo> ExternalIdInfos { get; set; }
/// <summary>
/// Gets or sets the content type.
/// </summary>
public CollectionType? ContentType { get; set; }
/// <summary>
/// Gets or sets the content type options.
/// </summary>
public IReadOnlyList<NameValuePair> ContentTypeOptions { get; set; }
2018-12-27 18:27:57 -05:00
}