#nullable enable namespace PluralKit.Core { public class GroupPatch: PatchObject { public Partial Name { get; set; } public Partial DisplayName { get; set; } public Partial Description { get; set; } public Partial Icon { get; set; } public Partial Color { get; set; } public Partial DescriptionPrivacy { get; set; } public Partial IconPrivacy { get; set; } public Partial ListPrivacy { get; set; } public Partial Visibility { get; set; } public override UpdateQueryBuilder Apply(UpdateQueryBuilder b) => b .With("name", Name) .With("display_name", DisplayName) .With("description", Description) .With("icon", Icon) .With("color", Color) .With("description_privacy", DescriptionPrivacy) .With("icon_privacy", IconPrivacy) .With("list_privacy", ListPrivacy) .With("visibility", Visibility); } }