summaryrefslogtreecommitdiff
path: root/windows/WinUI/ZeroTierPeer.cs
blob: ba925a6fb1e1509642eb04ffa3e3ff3167f18ad0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;

namespace WinUI
{
    public class ZeroTierPeer
    {
        [JsonProperty("address")]
        public string Address { get; set; }

        [JsonProperty("lastUnicastFrame")]
        public int LastUnicastFrame { get; set; }

        [JsonProperty("lastMulticastFrame")]
        public int LastMulticastFrame { get; set; }

        [JsonProperty("versionMajor")]
        public int VersionMajor { get; set; }

        [JsonProperty("versionMinor")]
        public int VersionMinor { get; set; }

        [JsonProperty("versionRev")]
        public int Versionrev { get; set; }

        [JsonProperty("version")]
        public string Version { get; set; }

        [JsonProperty("latency")]
        public string Latency { get; set; }

        [JsonProperty("role")]
        public string Role { get; set; }

        [JsonProperty("paths")]
        public List<ZeroTierPeerPhysicalPath> Paths { get; set; }
    }
}