about summary refs log tree commit diff
path: root/LibMatrix/Responses/RoomKeysResponse.cs
diff options
context:
space:
mode:
authorEmma [it/its]@Rory& <root@rory.gay>2024-03-05 11:19:52 +0100
committerEmma [it/its]@Rory& <root@rory.gay>2024-03-05 11:19:52 +0100
commitf41b6e5ec431c88bc1d94e4832d8ba49ddc42004 (patch)
tree503be94f5036f7cc221846c1eabf7c5edd107f1a /LibMatrix/Responses/RoomKeysResponse.cs
parentUnknown changes (diff)
downloadLibMatrix-bak-f41b6e5ec431c88bc1d94e4832d8ba49ddc42004.tar.xz
HomeserverEmulator work
Diffstat (limited to 'LibMatrix/Responses/RoomKeysResponse.cs')
-rw-r--r--LibMatrix/Responses/RoomKeysResponse.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/LibMatrix/Responses/RoomKeysResponse.cs b/LibMatrix/Responses/RoomKeysResponse.cs
new file mode 100644

index 0000000..8dc305a --- /dev/null +++ b/LibMatrix/Responses/RoomKeysResponse.cs
@@ -0,0 +1,19 @@ +using System.Text.Json.Nodes; +using System.Text.Json.Serialization; + +namespace LibMatrix.Responses; + +public class RoomKeysRequest { + [JsonPropertyName("algorithm")] + public string Algorithm { get; set; } + + [JsonPropertyName("auth_data")] + public JsonObject AuthData { get; set; } +} +public class RoomKeysResponse : RoomKeysRequest { + [JsonPropertyName("version")] + public string Version { get; set; } + + [JsonPropertyName("etag")] + public string Etag { get; set; } +} \ No newline at end of file