mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-24 02:02:29 -04:00
29 lines
777 B
C#
29 lines
777 B
C#
using System.Collections.Generic;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace MediaBrowser.Model.Entities;
|
|
|
|
/// <summary>
|
|
/// A class representing a parental rating system.
|
|
/// </summary>
|
|
public class ParentalRatingSystem
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the country code.
|
|
/// </summary>
|
|
[JsonPropertyName("countryCode")]
|
|
public required string CountryCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets a value indicating whether sub scores are supported.
|
|
/// </summary>
|
|
[JsonPropertyName("supportsSubScores")]
|
|
public bool SupportsSubScores { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the ratings.
|
|
/// </summary>
|
|
[JsonPropertyName("ratings")]
|
|
public IReadOnlyList<ParentalRatingEntry>? Ratings { get; set; }
|
|
}
|