| | | 1 | | using System.Collections.Generic; |
| | | 2 | | using Jellyfin.Data.Enums; |
| | | 3 | | using MediaBrowser.Model.Entities; |
| | | 4 | | using MediaBrowser.Model.Globalization; |
| | | 5 | | using MediaBrowser.Model.Providers; |
| | | 6 | | |
| | | 7 | | namespace MediaBrowser.Model.Dto; |
| | | 8 | | |
| | | 9 | | /// <summary> |
| | | 10 | | /// A class representing metadata editor information. |
| | | 11 | | /// </summary> |
| | | 12 | | public class MetadataEditorInfo |
| | | 13 | | { |
| | | 14 | | /// <summary> |
| | | 15 | | /// Initializes a new instance of the <see cref="MetadataEditorInfo"/> class. |
| | | 16 | | /// </summary> |
| | | 17 | | public MetadataEditorInfo() |
| | | 18 | | { |
| | 0 | 19 | | ParentalRatingOptions = []; |
| | 0 | 20 | | Countries = []; |
| | 0 | 21 | | Cultures = []; |
| | 0 | 22 | | ExternalIdInfos = []; |
| | 0 | 23 | | ContentTypeOptions = []; |
| | 0 | 24 | | } |
| | | 25 | | |
| | | 26 | | /// <summary> |
| | | 27 | | /// Gets or sets the parental rating options. |
| | | 28 | | /// </summary> |
| | | 29 | | public IReadOnlyList<ParentalRating> ParentalRatingOptions { get; set; } |
| | | 30 | | |
| | | 31 | | /// <summary> |
| | | 32 | | /// Gets or sets the countries. |
| | | 33 | | /// </summary> |
| | | 34 | | public IReadOnlyList<CountryInfo> Countries { get; set; } |
| | | 35 | | |
| | | 36 | | /// <summary> |
| | | 37 | | /// Gets or sets the cultures. |
| | | 38 | | /// </summary> |
| | | 39 | | public IReadOnlyList<CultureDto> Cultures { get; set; } |
| | | 40 | | |
| | | 41 | | /// <summary> |
| | | 42 | | /// Gets or sets the external id infos. |
| | | 43 | | /// </summary> |
| | | 44 | | public IReadOnlyList<ExternalIdInfo> ExternalIdInfos { get; set; } |
| | | 45 | | |
| | | 46 | | /// <summary> |
| | | 47 | | /// Gets or sets the content type. |
| | | 48 | | /// </summary> |
| | | 49 | | public CollectionType? ContentType { get; set; } |
| | | 50 | | |
| | | 51 | | /// <summary> |
| | | 52 | | /// Gets or sets the content type options. |
| | | 53 | | /// </summary> |
| | | 54 | | public IReadOnlyList<NameValuePair> ContentTypeOptions { get; set; } |
| | | 55 | | } |