lampac-ukraine/LME.Unimay/Models/ReleaseResponse.cs

23 lines
628 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace LME.Unimay.Models
{
public class ReleaseResponse
{
[JsonPropertyName("code")]
public string Code { get; set; }
[JsonPropertyName("title")]
public string Title { get; set; }
[JsonPropertyName("year")]
public string Year { get; set; }
[JsonPropertyName("type")]
public string Type { get; set; } // "Фільм" або "Телесеріал"
[JsonPropertyName("playlist")]
public List<Episode> Playlist { get; set; }
}
}