59 lines
2.4 KiB
C#
59 lines
2.4 KiB
C#
using System.Text.Json.Serialization;
|
|
using YandexMusic.API.Models.Artist;
|
|
using YandexMusic.API.Models.Common;
|
|
using YandexMusic.API.Models.Common.Cover;
|
|
using YandexMusic.API.Models.Track;
|
|
|
|
namespace YandexMusic.API.Models.Album;
|
|
|
|
/// <summary>Модель альбома.</summary>
|
|
public class YAlbum : YBaseModel
|
|
{
|
|
public YButton ActionButton { get; set; }
|
|
public List<YArtist> Artists { get; set; }
|
|
public bool Available { get; set; }
|
|
public bool AvailableForMobile { get; set; }
|
|
public List<string> AvailableForOptions { get; set; }
|
|
public bool AvailableForPremiumUsers { get; set; }
|
|
public bool AvailablePartially { get; set; }
|
|
public string BackgroundImageUrl { get; set; }
|
|
public string BackgroundVideoUrl { get; set; }
|
|
public List<string> Bests { get; set; }
|
|
public List<string> Buy { get; set; }
|
|
public bool ChildContent { get; set; }
|
|
public string ContentWarning { get; set; }
|
|
public string CoverUri { get; set; }
|
|
[JsonConverter(typeof(YCoverConverter))]
|
|
public YCover Cover { get; set; }
|
|
public YCustomWave CustomWave { get; set; }
|
|
public YDerivedColors DerivedColors { get; set; }
|
|
public string Description { get; set; }
|
|
public List<string> Disclaimers { get; set; }
|
|
public List<YAlbum> Duplicates { get; set; }
|
|
public bool HasTrailer { get; set; }
|
|
public string Genre { get; set; }
|
|
public string Id { get; set; }
|
|
[JsonConverter(typeof(YLabelConverter))]
|
|
public dynamic Labels { get; set; }
|
|
public int LikesCount { get; set; }
|
|
public bool ListeningFinished { get; set; }
|
|
public string MetaTagId { get; set; }
|
|
public YMetaType MetaType { get; set; }
|
|
public string OgImage { get; set; }
|
|
public YPager Pager { get; set; }
|
|
public List<YPrerolls> Prerolls { get; set; }
|
|
public bool Recent { get; set; }
|
|
public DateTime ReleaseDate { get; set; }
|
|
public string ShortDescription { get; set; }
|
|
public YSortOrder SortOrder { get; set; }
|
|
public string StorageDir { get; set; }
|
|
public string Title { get; set; }
|
|
public int TrackCount { get; set; }
|
|
public YTrackPosition TrackPosition { get; set; }
|
|
public YTrailer Trailer { get; set; }
|
|
public string Type { get; set; }
|
|
public string Version { get; set; }
|
|
public bool VeryImportant { get; set; }
|
|
public List<List<YTrack>> Volumes { get; set; }
|
|
public int Year { get; set; }
|
|
} |