af1152b001
Refactored all C# test files to use explicit namespace declarations and moved all using directives inside the namespace block for consistency. Updated assembly info and cache files to reflect the new build. Adjusted MvcTestingAppManifest.json to use fully qualified assembly names. No functional changes; all updates are related to code style, organization, and project metadata.
35 lines
971 B
C#
35 lines
971 B
C#
// <copyright file="PlaylistUserPermissions.cs" company="PlaceholderCompany">
|
|
// Copyright (c) PlaceholderCompany. All rights reserved.
|
|
// </copyright>
|
|
|
|
namespace MediaBrowser.Model.Entities;
|
|
|
|
using global::System;
|
|
|
|
/// <summary>
|
|
/// Class to hold data on user permissions for playlists.
|
|
/// </summary>
|
|
public class PlaylistUserPermissions
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="PlaylistUserPermissions"/> class.
|
|
/// </summary>
|
|
/// <param name="userId">The user id.</param>
|
|
/// <param name="canEdit">Edit permission.</param>
|
|
public PlaylistUserPermissions(Guid userId, bool canEdit = false)
|
|
{
|
|
UserId = userId;
|
|
CanEdit = canEdit;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets or sets the user id.
|
|
/// </summary>
|
|
public Guid UserId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets a value indicating whether the user has edit permissions.
|
|
/// </summary>
|
|
public bool CanEdit { get; set; }
|
|
}
|