forked from jellyfin/jellyfin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
- Loading branch information
Showing
4 changed files
with
83 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; } | ||
} |