You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jellyfin/Jellyfin.Api/Models/SyncPlayDtos/RemoveFromPlaylistRequestDt...

38 lines
1.3 KiB

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