namespace MediaBrowser.Model.Entities;
///
/// Class ParentalRating.
///
public class ParentalRating
{
///
/// Initializes a new instance of the class.
///
/// The name.
/// The score.
public ParentalRating(string name, ParentalRatingScore? score)
{
Name = name;
Value = score?.Score;
RatingScore = score;
}
///
/// Gets or sets the name.
///
/// The name.
public string Name { get; set; }
///
/// Gets or sets the value.
///
/// The value.
///
/// Deprecated.
///
public int? Value { get; set; }
///
/// Gets or sets the rating score.
///
/// The rating score.
public ParentalRatingScore? RatingScore { get; set; }
}