-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
48 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 21 additions & 21 deletions
42
...Yandex.Music.Api/Models/Account/YPhone.cs → ....Music.Api/Models/Account/YPhoneNumber.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Yandex.Music.Api.Models.Account | ||
{ | ||
public class YPhone | ||
{ | ||
[JsonProperty("masked_e164")] | ||
public string MaskedE164 { get; set; } | ||
|
||
public string E164 { get; set; } | ||
|
||
public string International { get; set; } | ||
|
||
[JsonProperty("masked_original")] | ||
public string MaskedOriginal { get; set; } | ||
|
||
public string Original { get; set; } | ||
|
||
[JsonProperty("masked_international")] | ||
public string MaskedInternational { get; set; } | ||
} | ||
using Newtonsoft.Json; | ||
|
||
namespace Yandex.Music.Api.Models.Account | ||
{ | ||
public class YPhoneNumber | ||
{ | ||
[JsonProperty("masked_e164")] | ||
public string MaskedE164 { get; set; } | ||
|
||
public string E164 { get; set; } | ||
|
||
public string International { get; set; } | ||
|
||
[JsonProperty("masked_original")] | ||
public string MaskedOriginal { get; set; } | ||
|
||
public string Original { get; set; } | ||
|
||
[JsonProperty("masked_international")] | ||
public string MaskedInternational { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
src/Yandex.Music.Api/Models/Feed/Event/YFeedEventAlbums.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using System.Collections.Generic; | ||
|
||
using Yandex.Music.Api.Models.Album; | ||
|
||
namespace Yandex.Music.Api.Models.Feed.Event | ||
{ | ||
public class YFeedEventAlbums: YFeedEvent | ||
{ | ||
public List<YAlbum> Albums { get; set; } | ||
} | ||
} |
9 changes: 2 additions & 7 deletions
9
src/Yandex.Music.Api/Models/Feed/Event/YFeedEventGenreAlbums.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,7 @@ | ||
using System.Collections.Generic; | ||
|
||
using Yandex.Music.Api.Models.Album; | ||
|
||
namespace Yandex.Music.Api.Models.Feed.Event | ||
namespace Yandex.Music.Api.Models.Feed.Event | ||
{ | ||
public class YFeedEventGenreAlbums: YFeedEvent | ||
public class YFeedEventGenreAlbums: YFeedEventAlbums | ||
{ | ||
public string Genre { get; set; } | ||
public List<YAlbum> Albums { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters