using System.Text.Json.Serialization;
using YandexMusic.API.Models.Landing.Entity;

namespace YandexMusic.API.Models.Landing;

public class YLandingBlock
{
    public string Id { get; set; }
    public string BackgroundImageUrl { get; set; }
    public string BackgroundVideoUrl { get; set; }
    public YLandingBlockData Data { get; set; }
    public string Description { get; set; }
    [JsonConverter(typeof(YLandingEntityConverter))]
    public List<YLandingEntity> Entities { get; set; }
    public YLandingBlockPlayContext PlayContext { get; set; }
    public string ViewAllUrl { get; set; }
    public string viewAllUrlScheme { get; set; }
    public string Title { get; set; }
    public YLandingBlockType Type { get; set; }
    public string TypeForFrom { get; set; }
}