PluralKit/PluralKit.Core/Models/Patch/PremiumAllowancePatch.cs

14 lines
322 B
C#
Raw Permalink Normal View History

2025-12-28 00:06:51 +13:00
using Newtonsoft.Json.Linq;
using SqlKata;
namespace PluralKit.Core;
public class PremiumAllowancePatch: PatchObject
{
public Partial<int> IdChangesRemaining { get; set; }
public override Query Apply(Query q) => q.ApplyPatch(wrapper => wrapper
.With("id_changes_remaining", IdChangesRemaining)
);
}