WIn_RustTools/RustTools/DataList/ModListResponse.cs

87 lines
1.5 KiB
C#
Raw Normal View History

2024-07-19 14:29:49 +00:00
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
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
}
}