diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-08-21 11:55:35 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-08-21 11:55:35 -0400 |
| commit | 76ed60605b03e14672afd54370d6bb1fc6e7544a (patch) | |
| tree | 70517d7e6c29f70b6366b62c5125023e38329d1f /MediaBrowser.Model/Playlists | |
| parent | fda7ff5bf2795cb03ee2a5355c8003da31bf24f9 (diff) | |
update chromecast
Diffstat (limited to 'MediaBrowser.Model/Playlists')
| -rw-r--r-- | MediaBrowser.Model/Playlists/PlaylistCreationRequest.cs | 20 | ||||
| -rw-r--r-- | MediaBrowser.Model/Playlists/PlaylistItemQuery.cs | 37 |
2 files changed, 57 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Playlists/PlaylistCreationRequest.cs b/MediaBrowser.Model/Playlists/PlaylistCreationRequest.cs new file mode 100644 index 000000000..63deb19dc --- /dev/null +++ b/MediaBrowser.Model/Playlists/PlaylistCreationRequest.cs @@ -0,0 +1,20 @@ +using System.Collections.Generic; + +namespace MediaBrowser.Model.Playlists +{ + public class PlaylistCreationRequest + { + public string Name { get; set; } + + public List<string> ItemIdList { get; set; } + + public string MediaType { get; set; } + + public string UserId { get; set; } + + public PlaylistCreationRequest() + { + ItemIdList = new List<string>(); + } + } +} 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; } + } +} |
