using System; using System.Collections.Generic; namespace Jellyfin.Api.Models.SyncPlayDtos { /// /// Class RemoveFromPlaylistRequestDto. /// public class RemoveFromPlaylistRequestDto { /// /// Initializes a new instance of the class. /// public RemoveFromPlaylistRequestDto() { PlaylistItemIds = Array.Empty(); } /// /// Gets or sets the playlist identifiers of the items. Ignored when clearing the playlist. /// /// The playlist identifiers of the items. public IReadOnlyList PlaylistItemIds { get; set; } /// /// Gets or sets a value indicating whether the entire playlist should be cleared. /// /// Whether the entire playlist should be cleared. public bool ClearPlaylist { get; set; } /// /// Gets or sets a value indicating whether the playing item should be removed as well. Used only when clearing the playlist. /// /// Whether the playing item should be removed as well. public bool ClearPlayingItem { get; set; } } }