aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Entities/ParentalRatingEntry.cs
blob: 69be74ac0a02aa480afe74be7e69c67dab7640d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using System.Collections.Generic;
using System.Text.Json.Serialization;

namespace MediaBrowser.Model.Entities;

/// <summary>
/// A class representing an parental rating entry.
/// </summary>
public class ParentalRatingEntry
{
    /// <summary>
    /// Gets or sets the rating strings.
    /// </summary>
    [JsonPropertyName("ratingStrings")]
    public required IReadOnlyList<string> RatingStrings { get; set; }

    /// <summary>
    /// Gets or sets the score.
    /// </summary>
    [JsonPropertyName("ratingScore")]
    public required ParentalRatingScore RatingScore { get; set; }
}