mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-07 06:17:55 +00:00
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);
|
|||
|
|
}
|
|||
|
|
}
|