You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.1 KiB
49 lines
1.1 KiB
|
9 years ago
|
using System;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
using System.Linq;
|
||
|
|
using System.Text;
|
||
|
|
using System.Threading.Tasks;
|
||
|
|
using Newtonsoft.Json;
|
||
|
|
|
||
|
|
namespace WinUI
|
||
|
|
{
|
||
|
|
class CentralNetwork
|
||
|
|
{
|
||
|
|
[JsonProperty("id")]
|
||
|
|
public string Id { get; set; }
|
||
|
|
|
||
|
|
[JsonProperty("type")]
|
||
|
|
public string Type { get; set; }
|
||
|
|
|
||
|
|
[JsonProperty("clock")]
|
||
|
|
public UInt64 Clock { get; set; }
|
||
|
|
|
||
|
|
[JsonProperty("rulesSource")]
|
||
|
|
public string RulesSource { get; set; }
|
||
|
|
|
||
|
|
[JsonProperty("description")]
|
||
|
|
public string Description { get; set; }
|
||
|
|
|
||
|
|
[JsonProperty("ownerId")]
|
||
|
|
public string OwnerID { get; set; }
|
||
|
|
|
||
|
|
[JsonProperty("onlineMemberCount")]
|
||
|
|
public int OnlineMemberCount { get; set; }
|
||
|
|
|
||
|
|
[JsonProperty("config")]
|
||
|
|
public CentralNetworkConfig Config { get; set; }
|
||
|
|
|
||
|
|
public class CentralNetworkConfig
|
||
|
|
{
|
||
|
|
[JsonProperty("id")]
|
||
|
|
public string Id { get; set; }
|
||
|
|
|
||
|
|
[JsonProperty("nwid")]
|
||
|
|
public string NetworkID { get; set; }
|
||
|
|
|
||
|
|
[JsonProperty("name")]
|
||
|
|
public string Name { get; set; }
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|