WIn_RustTools/RustTools/DataList/ModListResponse.cs

87 lines
1.3 KiB
C#

using System;
using System.Collections.Generic;
using Newtonsoft.Json;
public class ModData
{
[JsonProperty("id")]
public string Id
{
get; set;
}
[JsonProperty("name")]
public string Name
{
get; set;
}
[JsonProperty("describe")]
public string Description
{
get; set;
}
[JsonProperty("icon")]
public string Icon
{
get; set;
}
[JsonProperty("developer")]
public string Developer
{
get; set;
}
[JsonProperty("downloadNumber")]
public string DownloadNumber
{
get; set;
}
[JsonProperty("updateTime")]
public DateTime UpdateTime
{
get; set;
}
[JsonProperty("coinNumber")]
public string CoinNumber
{
get; set;
}
[JsonProperty("unitNumber")]
public string UnitNumber
{
get; set;
}
[JsonProperty("versionNumber")]
public string VersionNumber
{
get; set;
}
}
public class ModListResponse
{
[JsonProperty("code")]
public int Code
{
get; set;
}
[JsonProperty("message")]
public string Message
{
get; set;
}
[JsonProperty("data")]
public List<ModData> Data
{
get; set;
}
}