using System.Collections.Generic; using System.Text.Json.Serialization; namespace MediaBrowser.Model.Entities; /// /// A class representing a parental rating system. /// public class ParentalRatingSystem { /// /// Gets or sets the country code. /// [JsonPropertyName("countryCode")] public required string CountryCode { get; set; } /// /// Gets or sets a value indicating whether sub scores are supported. /// [JsonPropertyName("supportsSubScores")] public bool SupportsSubScores { get; set; } /// /// Gets or sets the ratings. /// [JsonPropertyName("ratings")] public IReadOnlyList? Ratings { get; set; } }