19 lines
454 B
C#
19 lines
454 B
C#
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; }
|
|
}
|
|
} |