WIn_RustTools/RustTools/DataList/ModInfo.cs
2024-08-15 09:40:33 +08:00

127 lines
2.2 KiB
C#

using Newtonsoft.Json;
public class ModInfo
{
[JsonProperty("code")]
public int Code
{
get; set;
}
[JsonProperty("message")]
public string Message
{
get; set;
}
[JsonProperty("data")]
public Data data
{
get; set;
}
public class Data
{
[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 IconUrl
{
get; set;
}
[JsonProperty("tags")]
public string Tags
{
get; set;
}
[JsonProperty("screenshots")]
public string Screenshots
{
get; set;
}
[JsonProperty("developer")]
public string Developer
{
get; set;
}
[JsonProperty("link")]
public string Link
{
get; set;
}
[JsonProperty("downloadNumber")]
public string DownloadNumber
{
get; set;
}
[JsonProperty("versionNumber")]
public string VersionNumber
{
get; set;
}
[JsonProperty("versionName")]
public string VersionName
{
get; set;
}
[JsonProperty("updateTime")]
public DateTime UpdateTime
{
get; set;
}
[JsonProperty("creationTime")]
public DateTime CreationTime
{
get; set;
}
[JsonProperty("unitNumber")]
public string UnitNumber
{
get; set;
}
[JsonProperty("hidden")]
public string Hidden
{
get; set;
}
[JsonProperty("coinNumber")]
public string CoinNumber
{
get; set;
}
[JsonProperty("minVersion")]
public string MinVersion
{
get; set;
}
}
}