?
This commit is contained in:
19
Models/RelayServerInfo.cs
Normal file
19
Models/RelayServerInfo.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace CatLink.Models
|
||||
{
|
||||
public class RelayServerInfo
|
||||
{
|
||||
[JsonPropertyName("name")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("addr")]
|
||||
public string Addr { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("port")]
|
||||
public int Port { get; set; }
|
||||
|
||||
[JsonPropertyName("official")]
|
||||
public bool Official { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user