about summary refs log tree commit diff
path: root/LibMatrix/Responses/ClientVersionsResponse.cs
diff options
context:
space:
mode:
Diffstat (limited to 'LibMatrix/Responses/ClientVersionsResponse.cs')
-rw-r--r--LibMatrix/Responses/ClientVersionsResponse.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/LibMatrix/Responses/ClientVersionsResponse.cs b/LibMatrix/Responses/ClientVersionsResponse.cs
new file mode 100644
index 0000000..7fac565
--- /dev/null
+++ b/LibMatrix/Responses/ClientVersionsResponse.cs
@@ -0,0 +1,12 @@
+using System.Collections.Generic;
+using System.Text.Json.Serialization;
+
+namespace LibMatrix.Responses;
+
+public class ClientVersionsResponse {
+    [JsonPropertyName("versions")]
+    public List<string> Versions { get; set; } = new();
+
+    [JsonPropertyName("unstable_features")]
+    public Dictionary<string, bool> UnstableFeatures { get; set; } = new();
+}