diff options
Diffstat (limited to 'MediaBrowser.Model/Playlists')
| -rw-r--r-- | MediaBrowser.Model/Playlists/PlaylistCreationRequest.cs | 21 | ||||
| -rw-r--r-- | MediaBrowser.Model/Playlists/PlaylistCreationResult.cs | 8 | ||||
| -rw-r--r-- | MediaBrowser.Model/Playlists/PlaylistItemQuery.cs | 37 |
3 files changed, 66 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Playlists/PlaylistCreationRequest.cs b/MediaBrowser.Model/Playlists/PlaylistCreationRequest.cs new file mode 100644 index 000000000..4c5c8bf51 --- /dev/null +++ b/MediaBrowser.Model/Playlists/PlaylistCreationRequest.cs @@ -0,0 +1,21 @@ +using System.Collections.Generic; +using System; + +namespace MediaBrowser.Model.Playlists +{ + public class PlaylistCreationRequest + { + public string Name { get; set; } + + public Guid[] ItemIdList { get; set; } + + public string MediaType { get; set; } + + public Guid UserId { get; set; } + + public PlaylistCreationRequest() + { + ItemIdList = Array.Empty<Guid>(); + } + } +} diff --git a/MediaBrowser.Model/Playlists/PlaylistCreationResult.cs b/MediaBrowser.Model/Playlists/PlaylistCreationResult.cs new file mode 100644 index 000000000..bbab8a18d --- /dev/null +++ b/MediaBrowser.Model/Playlists/PlaylistCreationResult.cs @@ -0,0 +1,8 @@ + +namespace MediaBrowser.Model.Playlists +{ + public class PlaylistCreationResult + { + public string Id { get; set; } + } +} diff --git a/MediaBrowser.Model/Playlists/PlaylistItemQuery.cs b/MediaBrowser.Model/Playlists/PlaylistItemQuery.cs new file mode 100644 index 000000000..0f6a0c8c5 --- /dev/null +++ b/MediaBrowser.Model/Playlists/PlaylistItemQuery.cs @@ -0,0 +1,37 @@ +using MediaBrowser.Model.Querying; + +namespace MediaBrowser.Model.Playlists +{ + public class PlaylistItemQuery + { + /// <summary> + /// Gets or sets the identifier. + /// </summary> + /// <value>The identifier.</value> + public string Id { get; set; } + + /// <summary> + /// Gets or sets the user identifier. + /// </summary> + /// <value>The user identifier.</value> + public string UserId { get; set; } + + /// <summary> + /// Gets or sets the start index. + /// </summary> + /// <value>The start index.</value> + public int? StartIndex { get; set; } + + /// <summary> + /// Gets or sets the limit. + /// </summary> + /// <value>The limit.</value> + public int? Limit { get; set; } + + /// <summary> + /// Gets or sets the fields. + /// </summary> + /// <value>The fields.</value> + public ItemFields[] Fields { get; set; } + } +} |
