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