Skip to content

Commit

Permalink
Обновлены модели.
Browse files Browse the repository at this point in the history
  • Loading branch information
K1llMan committed Feb 12, 2021
1 parent f94ccd2 commit 8e522fb
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions Yandex.Music.Api/Models/Album/YAlbum.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public class YAlbum : YBaseModel
public string Genre { get; set; }
public string Id { get; set; }
public List<YLabel> Labels { get; set; }
public int LikesCount { get; set; }
public string MetaType { get; set; }
public string OgImage { get; set; }
public List<YPrerolls> Prerolls { get; set; }
Expand Down
1 change: 0 additions & 1 deletion Yandex.Music.Api/Models/Common/YExecutionContext.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;

using Newtonsoft.Json;
using Newtonsoft.Json.Linq;

using Yandex.Music.Api.Common;

Expand Down
1 change: 1 addition & 0 deletions Yandex.Music.Api/Models/Search/Album/YSearchAlbumModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public class YSearchAlbumModel
public string Genre { get; set; }
public string Id { get; set; }
public List<string> Labels { get; set; }
public int LikesCount { get; set; }
public int OriginalReleaseYear { get; set; }
public List<string> Regions { get; set; }
public string StorageDir { get; set; }
Expand Down
1 change: 1 addition & 0 deletions Yandex.Music.Api/Models/Search/Track/YSearchTrackModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public class YSearchTrackModel
public bool RememberPosition { get; set; }
public string StorageDir { get; set; }
public string Title { get; set; }
public YSearchTrackType Type { get; set; }
public string Version { get; set; }

#endregion
Expand Down
7 changes: 7 additions & 0 deletions Yandex.Music.Api/Models/Search/Track/YSearchTrackType.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
namespace Yandex.Music.Api.Models.Search.Track
{
public enum YSearchTrackType
{
Music
}
}

0 comments on commit 8e522fb

Please sign in to comment.