using Newtonsoft.Json.Linq; using NodaTime; using SqlKata; namespace PluralKit.Core; public class AutoproxyPatch : PatchObject { public Partial AutoproxyMode { get; set; } public Partial AutoproxyMember { get; set; } public Partial LastLatchTimestamp { get; set; } public override Query Apply(Query q) => q.ApplyPatch(wrapper => wrapper .With("autoproxy_mode", AutoproxyMode) .With("autoproxy_member", AutoproxyMember) .With("last_latch_timestamp", LastLatchTimestamp) ); }