PluralKit/PluralKit.Core/Models/Patch/GroupPatch.cs
2020-07-28 19:17:00 +02:00

13 lines
365 B
C#

#nullable enable
namespace PluralKit.Core
{
public class GroupPatch: PatchObject
{
public Partial<string> Name { get; set; }
public Partial<string?> Description { get; set; }
public override UpdateQueryBuilder Apply(UpdateQueryBuilder b) => b
.With("name", Name)
.With("description", Description);
}
}