aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Entities/Share.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2023-03-28 10:58:48 +0200
committerGitHub <noreply@github.com>2023-03-28 10:58:48 +0200
commit9c500bdca3330607a2a0dd9a562548750f99f11b (patch)
tree568e6cc17720a2d2396e66155d57eeabe88e511b /MediaBrowser.Model/Entities/Share.cs
parent6ed113c7e5c5381c937ae3b6b9fcfe1d3a187483 (diff)
parent9211a73e4011c0c610fdbcf24e0723a3552f22fa (diff)
Merge pull request #9466 from Shadowghost/playlist-fix
Diffstat (limited to 'MediaBrowser.Model/Entities/Share.cs')
-rw-r--r--MediaBrowser.Model/Entities/Share.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Entities/Share.cs b/MediaBrowser.Model/Entities/Share.cs
new file mode 100644
index 000000000..186aad189
--- /dev/null
+++ b/MediaBrowser.Model/Entities/Share.cs
@@ -0,0 +1,17 @@
+namespace MediaBrowser.Model.Entities;
+
+/// <summary>
+/// Class to hold data on sharing permissions.
+/// </summary>
+public class Share
+{
+ /// <summary>
+ /// Gets or sets the user id.
+ /// </summary>
+ public string? UserId { get; set; }
+
+ /// <summary>
+ /// Gets or sets a value indicating whether the user has edit permissions.
+ /// </summary>
+ public bool CanEdit { get; set; }
+}