aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Entities/Share.cs
diff options
context:
space:
mode:
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; }
+}