15 lines
526 B
C#
15 lines
526 B
C#
|
#nullable enable
|
|||
|
namespace PluralKit.Core
|
|||
|
{
|
|||
|
public class SystemGuildPatch: PatchObject
|
|||
|
{
|
|||
|
public Partial<bool> ProxyEnabled { get; set; }
|
|||
|
public Partial<AutoproxyMode> AutoproxyMode { get; set; }
|
|||
|
public Partial<MemberId?> AutoproxyMember { get; set; }
|
|||
|
|
|||
|
public override UpdateQueryBuilder Apply(UpdateQueryBuilder b) => b
|
|||
|
.With("proxy_enabled", ProxyEnabled)
|
|||
|
.With("autoproxy_mode", AutoproxyMode)
|
|||
|
.With("autoproxy_member", AutoproxyMember);
|
|||
|
}
|
|||
|
}
|