about summary refs log tree commit diff
path: root/LibMatrix/Responses/RoomKeysResponse.cs
blob: 8dc305a7d5ba8c6d983c662c3b0c38d3415c1d17 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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; }
}