Добавьте файлы проекта.
This commit is contained in:
15
PlaylistShared.Shared/DTO/TrackOperationDto.cs
Normal file
15
PlaylistShared.Shared/DTO/TrackOperationDto.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace PlaylistShared.Shared.DTO;
|
||||
|
||||
/// <summary>Запрос на добавление или удаление треков.</summary>
|
||||
public class TrackOperationDto
|
||||
{
|
||||
/// <summary>Токен шеринг-плейлиста (для проверки прав).</summary>
|
||||
[JsonPropertyName("sharedPlaylistToken")]
|
||||
public string SharedPlaylistToken { get; set; } = null!;
|
||||
|
||||
/// <summary>Список идентификаторов треков в Яндекс.Музыке.</summary>
|
||||
[JsonPropertyName("trackIds")]
|
||||
public List<string> TrackIds { get; set; } = new();
|
||||
}
|
||||
Reference in New Issue
Block a user