| | | 1 | | using System; |
| | | 2 | | using System.Collections.Generic; |
| | | 3 | | |
| | | 4 | | namespace Jellyfin.Api.Models.SyncPlayDtos; |
| | | 5 | | |
| | | 6 | | /// <summary> |
| | | 7 | | /// Class RemoveFromPlaylistRequestDto. |
| | | 8 | | /// </summary> |
| | | 9 | | public class RemoveFromPlaylistRequestDto |
| | | 10 | | { |
| | | 11 | | /// <summary> |
| | | 12 | | /// Initializes a new instance of the <see cref="RemoveFromPlaylistRequestDto"/> class. |
| | | 13 | | /// </summary> |
| | | 14 | | public RemoveFromPlaylistRequestDto() |
| | | 15 | | { |
| | 0 | 16 | | PlaylistItemIds = Array.Empty<Guid>(); |
| | 0 | 17 | | } |
| | | 18 | | |
| | | 19 | | /// <summary> |
| | | 20 | | /// Gets or sets the playlist identifiers of the items. Ignored when clearing the playlist. |
| | | 21 | | /// </summary> |
| | | 22 | | /// <value>The playlist identifiers of the items.</value> |
| | | 23 | | public IReadOnlyList<Guid> PlaylistItemIds { get; set; } |
| | | 24 | | |
| | | 25 | | /// <summary> |
| | | 26 | | /// Gets or sets a value indicating whether the entire playlist should be cleared. |
| | | 27 | | /// </summary> |
| | | 28 | | /// <value>Whether the entire playlist should be cleared.</value> |
| | | 29 | | public bool ClearPlaylist { get; set; } |
| | | 30 | | |
| | | 31 | | /// <summary> |
| | | 32 | | /// Gets or sets a value indicating whether the playing item should be removed as well. Used only when clearing the |
| | | 33 | | /// </summary> |
| | | 34 | | /// <value>Whether the playing item should be removed as well.</value> |
| | | 35 | | public bool ClearPlayingItem { get; set; } |
| | | 36 | | } |