Добавьте файлы проекта.

This commit is contained in:
FrigaT
2026-04-10 12:12:33 +03:00
parent 9615cf42ee
commit 11d0b0d72f
383 changed files with 9661 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
using YandexMusic.API.Models.Common;
using YandexMusic.API.Models.Common.Cover;
namespace YandexMusic.API.Models.Artist
{
public class YArtist : YBaseModel
{
public YButton ActionButton { get; set; }
public bool Available { get; set; }
public bool Composer { get; set; }
public List<string> Countries { get; set; }
public YArtistCounts Counts { get; set; }
[JsonConverter(typeof(YCoverConverter))]
public YCover Cover { get; set; }
public List<string> DbAliases { get; set; }
#warning Непонятная коллекция с содержимым разных типов
public List<object> Decomposed { get; set; }
public YDerivedColors DerivedColors { get; set; }
public YDescription Description { get; set; }
public YDeprecation Deprecation { get; set; }
public List<string> Disclaimers { get; set; }
public string EndDate { get; set; }
public string EnWikipediaLink { get; set; }
public List<YExtraAction> ExtraActions { get; set; }
public List<string> Genres { get; set; }
public string Id { get; set; }
public string InitDate { get; set; }
public int LikesCount { get; set; }
public List<YLink> Links { get; set; }
public string Name { get; set; }
public bool NoPicturesFromSearch { get; set; }
public string OgImage { get; set; }
public YArtistRatings Ratings { get; set; }
public bool TicketsAvailable { get; set; }
public DateTime Timestamp { get; set; }
public bool Various { get; set; }
public string YaMoneyId { get; set; }
public bool HasTrailer { get; set; }
public YTrailer Trailer { get; set; }
}
}

View File

@@ -0,0 +1,36 @@
using YandexMusic.API.Models.Album;
using YandexMusic.API.Models.Common;
using YandexMusic.API.Models.Common.Cover;
using YandexMusic.API.Models.Playlist;
using YandexMusic.API.Models.Track;
namespace YandexMusic.API.Models.Artist
{
public class YArtistBriefInfo
{
public YButton ActionButton { get; set; }
public List<YAlbum> Albums { get; set; }
[JsonProperty(ItemConverterType = typeof(YCoverConverter))]
public List<YCover> AllCovers { get; set; }
public List<YAlbum> AlsoAlbums { get; set; }
public YArtist Artist { get; set; }
public string BackgroundVideoUrl { get; set; }
public YBandlinkScannerLink BandlinkScannerLink { get; set; }
public List<YClip> Clips { get; set; }
public List<YConcert> Concerts { get; set; }
public YCustomWave CustomWave { get; set; }
public List<YExtraAction> ExtraActions { get; set; }
public bool HasPromotions { get; set; }
public bool HasTrailer { get; set; }
public List<string> LastReleaseIds { get; set; }
public List<YAlbum> LastReleases { get; set; }
public List<YPlaylistUidPair> PlaylistIds { get; set; }
public List<YPlaylist> Playlists { get; set; }
public List<YTrack> PopularTracks { get; set; }
public List<YArtist> SimilarArtists { get; set; }
public YStats Stats { get; set; }
public List<YVideo> Videos { get; set; }
public List<YVinyl> Vinyls { get; set; }
public List<YLink> Links { get; set; }
}
}

View File

@@ -0,0 +1,10 @@
namespace YandexMusic.API.Models.Artist
{
public class YArtistCounts
{
public int AlsoAlbums { get; set; }
public int AlsoTracks { get; set; }
public int DirectAlbums { get; set; }
public int Tracks { get; set; }
}
}

View File

@@ -0,0 +1,9 @@
namespace YandexMusic.API.Models.Artist
{
public class YArtistRatings
{
public int Day { get; set; }
public int Month { get; set; }
public int Week { get; set; }
}
}

View File

@@ -0,0 +1,10 @@
namespace YandexMusic.API.Models.Artist
{
public class YBandlinkScannerLink
{
public string Title { get; set; }
public string Subtitle { get; set; }
public string Url { get; set; }
public string ImgUrl { get; set; }
}
}

View File

@@ -0,0 +1,29 @@
using YandexMusic.API.Models.Common;
namespace YandexMusic.API.Models.Artist
{
public class YConcert
{
public string Address { get; set; }
public string AfishaUrl { get; set; }
public YArtist Artist { get; set; }
public string City { get; set; }
public string ConcertTitle { get; set; }
public string ContentRating { get; set; }
public List<decimal> Coordinates { get; set; }
public YCashback Cashback { get; set; }
[JsonProperty("data-session-id")]
public string DataSessionId { get; set; }
public DateTime DateTime { get; set; }
public string Hash { get; set; }
public string Id { get; set; }
public List<string> Images { get; set; }
public string ImageUrl { get; set; }
public string Map { get; set; }
public string MapUrl { get; set; }
[JsonProperty("metro-stations")]
public List<YMetroStation> MetroStations { get; set; }
public string Place { get; set; }
public YPrice MinPrice { get; set; }
}
}

View File

@@ -0,0 +1,7 @@
namespace YandexMusic.API.Models.Artist
{
public class YDeprecation
{
public string TargetArtistId { get; set; }
}
}

View File

@@ -0,0 +1,9 @@
namespace YandexMusic.API.Models.Artist
{
public class YMetroStation
{
[JsonProperty("line-color")]
public string LineColor { get; set; }
public string Title { get; set; }
}
}

View File

@@ -0,0 +1,12 @@
using YandexMusic.API.Models.Common;
using YandexMusic.API.Models.Track;
namespace YandexMusic.API.Models.Artist
{
public class YTracksPage
{
public YPager Pager { get; set; }
public List<YTrack> Tracks { get; set; }
}
}