diff options
| author | Patrick Barron <18354464+barronpm@users.noreply.github.com> | 2020-06-21 18:54:38 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-21 18:54:38 +0000 |
| commit | a6664b8335fd8666b09114624cb5f34f9f44716f (patch) | |
| tree | 254497b04d281c2f53a5ed690deeb36008798e1f /Jellyfin.Api/Models | |
| parent | 87734b864728cb0b7f073716b7706425b8dbdb18 (diff) | |
| parent | f017f5c97fb091304bba819e9ba73510cf85a9b1 (diff) | |
Merge pull request #3275 from crobibero/api-playlist
Move PlaylistService to Jellyfin.Api
Diffstat (limited to 'Jellyfin.Api/Models')
| -rw-r--r-- | Jellyfin.Api/Models/PlaylistDtos/CreatePlaylistDto.cs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Jellyfin.Api/Models/PlaylistDtos/CreatePlaylistDto.cs b/Jellyfin.Api/Models/PlaylistDtos/CreatePlaylistDto.cs new file mode 100644 index 000000000..0d67c86f7 --- /dev/null +++ b/Jellyfin.Api/Models/PlaylistDtos/CreatePlaylistDto.cs @@ -0,0 +1,30 @@ +using System; + +namespace Jellyfin.Api.Models.PlaylistDtos +{ + /// <summary> + /// Create new playlist dto. + /// </summary> + public class CreatePlaylistDto + { + /// <summary> + /// Gets or sets the name of the new playlist. + /// </summary> + public string? Name { get; set; } + + /// <summary> + /// Gets or sets item ids to add to the playlist. + /// </summary> + public string? Ids { get; set; } + + /// <summary> + /// Gets or sets the user id. + /// </summary> + public Guid UserId { get; set; } + + /// <summary> + /// Gets or sets the media type. + /// </summary> + public string? MediaType { get; set; } + } +} |
