using System; using System.Collections.Generic; namespace Jellyfin.Plugin.WatchedTogether.Models; /// /// A request to create a shared account and its group. /// public class CreateGroupRequest { /// /// Gets or sets the members whose passwords will unlock the account. At least two. /// public IReadOnlyList MemberUserIds { get; set; } = Array.Empty(); /// /// Gets or sets an explicit account name. When empty, one is generated from the member names. /// public string? Name { get; set; } /// /// Gets or sets a value indicating whether the shared account may access all libraries. /// public bool EnableAllFolders { get; set; } = true; /// /// Gets or sets the explicit libraries the shared account may access. /// public IReadOnlyList? EnabledFolders { get; set; } }