mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-08 04:18:06 +02:00
30 lines
835 B
C#
30 lines
835 B
C#
using System;
|
|
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")]
|
|
public string? Year { get; set; }
|
|
|
|
/// <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")]
|
|
public IReadOnlyList<QualityRatingDto> QualityRating { get; set; } = Array.Empty<QualityRatingDto>();
|
|
}
|
|
}
|