diff options
| author | crobibero <cody@robibe.ro> | 2020-06-08 13:14:41 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-06-08 13:14:41 -0600 |
| commit | d97e306cdae11eb2675161aa2a6d828c739b2b01 (patch) | |
| tree | 48a9f36e4a569270a3ad454496058b183754392d /Jellyfin.Api/Models | |
| parent | e153214e762173ee1f1796a579f28c63065e61f2 (diff) | |
Move PlaylistService to Jellyfin.Api
Diffstat (limited to 'Jellyfin.Api/Models')
| -rw-r--r-- | Jellyfin.Api/Models/PlaylistDtos/CreatePlaylistDto.cs | 31 |
1 files changed, 31 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..20835eecb --- /dev/null +++ b/Jellyfin.Api/Models/PlaylistDtos/CreatePlaylistDto.cs @@ -0,0 +1,31 @@ +#nullable enable +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; } + } +} |
