mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-06 13:57:54 +00:00
14 lines
322 B
C#
14 lines
322 B
C#
|
|
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)
|
||
|
|
);
|
||
|
|
}
|