Обнновлено до .net10
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
namespace YandexMusic.API.Models.Queue
|
||||
namespace YandexMusic.API.Models.Queue;
|
||||
|
||||
public class YContext
|
||||
{
|
||||
public class YContext
|
||||
{
|
||||
public string Type { get; set; }
|
||||
public string Id { get; set; }
|
||||
public string Login { get; set; }
|
||||
public string Description { get; set; }
|
||||
}
|
||||
public string Type { get; set; }
|
||||
public string Id { get; set; }
|
||||
public string Login { get; set; }
|
||||
public string Description { get; set; }
|
||||
}
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
using YandexMusic.API.Models.Common;
|
||||
|
||||
namespace YandexMusic.API.Models.Queue
|
||||
namespace YandexMusic.API.Models.Queue;
|
||||
|
||||
public class YNewQueue : YId
|
||||
{
|
||||
public class YNewQueue : YId
|
||||
{
|
||||
public string Modified { get; set; }
|
||||
}
|
||||
public string Modified { get; set; }
|
||||
}
|
||||
|
||||
@@ -1,15 +1,14 @@
|
||||
using YandexMusic.API.Models.Common;
|
||||
|
||||
namespace YandexMusic.API.Models.Queue
|
||||
namespace YandexMusic.API.Models.Queue;
|
||||
|
||||
public class YQueue
|
||||
{
|
||||
public class YQueue
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public YContext Context { get; set; }
|
||||
public List<YTrackId> Tracks { get; set; }
|
||||
public int? CurrentIndex { get; set; }
|
||||
public string Modified { get; set; }
|
||||
public string From { get; set; }
|
||||
public bool IsInteractive { get; set; }
|
||||
}
|
||||
public string Id { get; set; }
|
||||
public YContext Context { get; set; }
|
||||
public List<YTrackId> Tracks { get; set; }
|
||||
public int? CurrentIndex { get; set; }
|
||||
public string Modified { get; set; }
|
||||
public string From { get; set; }
|
||||
public bool IsInteractive { get; set; }
|
||||
}
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
namespace YandexMusic.API.Models.Queue
|
||||
namespace YandexMusic.API.Models.Queue;
|
||||
|
||||
public class YQueueItem
|
||||
{
|
||||
public class YQueueItem
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public YContext Context { get; set; }
|
||||
public YContext InitialContext { get; set; }
|
||||
public string Modified { get; set; }
|
||||
}
|
||||
public string Id { get; set; }
|
||||
public YContext Context { get; set; }
|
||||
public YContext InitialContext { get; set; }
|
||||
public string Modified { get; set; }
|
||||
}
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
namespace YandexMusic.API.Models.Queue
|
||||
namespace YandexMusic.API.Models.Queue;
|
||||
|
||||
public class YQueueItemsContainer
|
||||
{
|
||||
public class YQueueItemsContainer
|
||||
{
|
||||
public List<YQueueItem> Queues { get; set; }
|
||||
}
|
||||
public List<YQueueItem> Queues { get; set; }
|
||||
}
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
namespace YandexMusic.API.Models.Queue
|
||||
namespace YandexMusic.API.Models.Queue;
|
||||
|
||||
public class YUpdatedQueue
|
||||
{
|
||||
public class YUpdatedQueue
|
||||
{
|
||||
public string Status { get; set; }
|
||||
public bool MostRecentQueue { get; set; }
|
||||
}
|
||||
public string Status { get; set; }
|
||||
public bool MostRecentQueue { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user