jellyfin/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/MovieDto.cs

31 lines
835 B
C#
Raw Normal View History

2021-09-03 18:59:40 +02:00
using System;
2021-08-29 00:32:50 +02:00
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos
{
/// <summary>
/// Movie dto.
/// </summary>
public class MovieDto
{
/// <summary>
/// Gets or sets the year.
/// </summary>
[JsonPropertyName("year")]
2021-09-03 18:59:40 +02:00
public string? Year { get; set; }
2021-08-29 00:32:50 +02:00
/// <summary>
/// Gets or sets the duration.
/// </summary>
[JsonPropertyName("duration")]
public int Duration { get; set; }
/// <summary>
/// Gets or sets the list of quality rating.
/// </summary>
[JsonPropertyName("qualityRating")]
2021-09-03 18:59:40 +02:00
public IReadOnlyList<QualityRatingDto> QualityRating { get; set; } = Array.Empty<QualityRatingDto>();
2021-08-29 00:32:50 +02:00
}
}