diff options
| author | Shadowghost <Ghost_of_Stone@web.de> | 2024-03-26 23:45:14 +0100 |
|---|---|---|
| committer | Shadowghost <Ghost_of_Stone@web.de> | 2024-03-26 23:45:14 +0100 |
| commit | 56c432a8439e1b75c15729bfdb19d41d34e3124d (patch) | |
| tree | 00fa37a452a34363922f1b10ccefbec7f55ef81d /MediaBrowser.Model/Playlists | |
| parent | f1dc1610a28fdb2dec4241d233503b6e11020546 (diff) | |
Apply review suggestions
Diffstat (limited to 'MediaBrowser.Model/Playlists')
| -rw-r--r-- | MediaBrowser.Model/Playlists/PlaylistCreationRequest.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/MediaBrowser.Model/Playlists/PlaylistCreationRequest.cs b/MediaBrowser.Model/Playlists/PlaylistCreationRequest.cs index 93eccd5c7..f1351588f 100644 --- a/MediaBrowser.Model/Playlists/PlaylistCreationRequest.cs +++ b/MediaBrowser.Model/Playlists/PlaylistCreationRequest.cs @@ -18,7 +18,7 @@ public class PlaylistCreationRequest /// <summary> /// Gets or sets the list of items. /// </summary> - public IReadOnlyList<Guid> ItemIdList { get; set; } = Array.Empty<Guid>(); + public IReadOnlyList<Guid> ItemIdList { get; set; } = []; /// <summary> /// Gets or sets the media type. @@ -31,12 +31,12 @@ public class PlaylistCreationRequest public Guid UserId { get; set; } /// <summary> - /// Gets or sets the shares. + /// Gets or sets the user permissions. /// </summary> - public IReadOnlyList<Share>? Shares { get; set; } + public IReadOnlyList<UserPermissions> Users { get; set; } = []; /// <summary> - /// Gets or sets a value indicating whether open access is enabled. + /// Gets or sets a value indicating whether the playlist is public. /// </summary> - public bool? OpenAccess { get; set; } + public bool? Public { get; set; } = true; } |
