blob: b09bdd03d8d89ffc39c53b68fad2127a17b1a80a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
using System.Text.Json.Serialization;
namespace LibMatrix.Responses.Federation;
public class ServerVersionResponse {
[JsonPropertyName("server")]
public required ServerInfo Server { get; set; }
public class ServerInfo {
[JsonPropertyName("name")]
public string Name { get; set; }
[JsonPropertyName("version")]
public string Version { get; set; }
}
}
|