WIn_RustTools/RustTools/DataList/ModListResponse.cs

85 lines
1.4 KiB
C#
Raw Permalink Normal View History

2024-08-15 01:40:33 +00:00
using Newtonsoft.Json;
2024-07-19 14:29:49 +00:00
public class ModListResponse
2024-07-19 14:29:49 +00:00
{
[JsonProperty("code")]
public int Code
2024-07-19 14:29:49 +00:00
{
get; set;
}
[JsonProperty("message")]
public string Message
2024-07-19 14:29:49 +00:00
{
get; set;
}
[JsonProperty("data")]
public List<ModData> Data
2024-07-19 14:29:49 +00:00
{
get; set;
}
public class ModData
2024-07-19 14:29:49 +00:00
{
[JsonProperty("id")]
public string Id
{
get; set;
}
2024-07-19 14:29:49 +00:00
[JsonProperty("name")]
public string Name
{
get; set;
}
2024-07-19 14:29:49 +00:00
[JsonProperty("describe")]
public string Description
{
get; set;
}
2024-07-19 14:29:49 +00:00
[JsonProperty("icon")]
public string Icon
{
get; set;
}
2024-07-19 14:29:49 +00:00
[JsonProperty("developer")]
public string Developer
{
get; set;
}
2024-07-19 14:29:49 +00:00
[JsonProperty("downloadNumber")]
public string DownloadNumber
{
get; set;
}
2024-07-19 14:29:49 +00:00
[JsonProperty("updateTime")]
public DateTime UpdateTime
{
get; set;
}
2024-07-19 14:29:49 +00:00
[JsonProperty("coinNumber")]
public string CoinNumber
{
get; set;
}
2024-07-19 14:29:49 +00:00
[JsonProperty("unitNumber")]
public string UnitNumber
{
get; set;
}
2024-07-19 14:29:49 +00:00
[JsonProperty("versionNumber")]
public string VersionNumber
{
get; set;
}
2024-07-19 14:29:49 +00:00
}
}