85 lines
1.4 KiB
C#
85 lines
1.4 KiB
C#
using Newtonsoft.Json;
|
|
|
|
|
|
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;
|
|
}
|
|
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;
|
|
}
|
|
}
|
|
} |