using System; using System.Collections.Generic; namespace Jellyfin.Plugin.WatchedTogether.Models; /// /// A request to update an existing group. /// public class UpdateGroupRequest { /// /// Gets or sets the new member list. At least two. /// public IReadOnlyList MemberUserIds { get; set; } = Array.Empty(); /// /// Gets or sets a value indicating whether unwatched state propagates too. /// public bool SyncUnwatched { get; set; } = true; /// /// Gets or sets a value indicating whether play counts are raised on watch. /// public bool SyncPlayCount { get; set; } /// /// Gets or sets a value indicating whether the group is suspended. /// public bool IsDisabled { get; set; } /// /// Gets or sets a value indicating whether the rating cap is the strictest member's. /// public bool InheritParentalRating { get; set; } = true; /// /// Gets or sets the rating cap to use when not inheriting, as Jellyfin's numeric score /// (null for none). Kept within the members' range by the server. /// public int? ParentalRatingCap { get; set; } }