13 lines
365 B
C#
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);
|
|
}
|
|
} |