mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-24 02:02:29 -04:00
23 lines
592 B
C#
23 lines
592 B
C#
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; }
|
|
}
|