using System; namespace MediaBrowser.Model.Entities; /// /// Class to hold data on user permissions for playlists. /// public class PlaylistUserPermissions { /// /// Initializes a new instance of the class. /// /// The user id. /// Edit permission. public PlaylistUserPermissions(Guid userId, bool canEdit = false) { UserId = userId; CanEdit = canEdit; } /// /// Gets or sets the user id. /// public Guid UserId { get; set; } /// /// Gets or sets a value indicating whether the user has edit permissions. /// public bool CanEdit { get; set; } }