mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 23:58:57 +00:00
Add endpoint for getting playlists by id (#12697)
This commit is contained in:
26
MediaBrowser.Model/Dto/PlaylistDto.cs
Normal file
26
MediaBrowser.Model/Dto/PlaylistDto.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using MediaBrowser.Model.Entities;
|
||||
|
||||
namespace MediaBrowser.Model.Dto;
|
||||
|
||||
/// <summary>
|
||||
/// DTO for playlists.
|
||||
/// </summary>
|
||||
public class PlaylistDto
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether the playlist is publicly readable.
|
||||
/// </summary>
|
||||
public bool OpenAccess { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the share permissions.
|
||||
/// </summary>
|
||||
public required IReadOnlyList<PlaylistUserPermissions> Shares { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the item ids.
|
||||
/// </summary>
|
||||
public required IReadOnlyList<Guid> ItemIds { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user