using System.Text.Json.Serialization; namespace SVSim.BattleNode.Protocol.Bodies; public sealed record SwapResponseBody( [property: JsonPropertyName("self")] IReadOnlyList Self, [property: JsonPropertyName("resultCode")] int ResultCode = (int)ReceiveNodeResultCode.Success) : IMsgBody;