2021-08-29 00:32:50 +02:00
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
|
|
|
|
namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Quality rating dto.
|
|
|
|
/// </summary>
|
|
|
|
public class QualityRatingDto
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the ratings body.
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("ratingsBody")]
|
2021-09-03 18:59:40 +02:00
|
|
|
public string? RatingsBody { get; set; }
|
2021-08-29 00:32:50 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the rating.
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("rating")]
|
2021-09-03 18:59:40 +02:00
|
|
|
public string? Rating { get; set; }
|
2021-08-29 00:32:50 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the min rating.
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("minRating")]
|
2021-09-03 18:59:40 +02:00
|
|
|
public string? MinRating { get; set; }
|
2021-08-29 00:32:50 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the max rating.
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("maxRating")]
|
2021-09-03 18:59:40 +02:00
|
|
|
public string? MaxRating { get; set; }
|
2021-08-29 00:32:50 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the increment.
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("increment")]
|
2021-09-03 18:59:40 +02:00
|
|
|
public string? Increment { get; set; }
|
2021-08-29 00:32:50 +02:00
|
|
|
}
|
|
|
|
}
|