diff options
| author | Andrew Rabert <ar@nullsum.net> | 2018-12-27 18:27:57 -0500 |
|---|---|---|
| committer | Andrew Rabert <ar@nullsum.net> | 2018-12-27 18:27:57 -0500 |
| commit | a86b71899ec52c44ddc6c3018e8cc5e9d7ff4d62 (patch) | |
| tree | a74f6ea4a8abfa1664a605d31d48bc38245ccf58 /MediaBrowser.Model/Playlists | |
| parent | 9bac3ac616b01f67db98381feb09d34ebe821f9a (diff) | |
Add GPL modules
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; } + } +} |
