| 1 | using System.Text.Json; |
| 2 | using System.Text.Json.Serialization; |
| 3 | |
| 4 | namespace AgentClientProtocol; |
| 5 | |
| 6 | public record SessionMode |
| 7 | { |
| 8 | [JsonPropertyName("_meta")] |
| 9 | public JsonElement? Meta { get; init; } |
| 10 | |
| 11 | [JsonPropertyName("id")] |
| 12 | public required string Id { get; init; } |
| 13 | |
| 14 | [JsonPropertyName("name")] |
| 15 | public required string Name { get; init; } |
| 16 | |
| 17 | [JsonPropertyName("description")] |
| 18 | public string? Description { get; init; } |
| 19 | } |
| 20 |