81 lines
2.6 KiB
C#
81 lines
2.6 KiB
C#
using Newtonsoft.Json;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace PoEco.Net.JSON.Classes
|
|
{
|
|
internal class Divination
|
|
{
|
|
public class Sparkline
|
|
{
|
|
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
|
|
public List<double?> data { get; set; }
|
|
public double? totalChange { get; set; }
|
|
}
|
|
|
|
public class LowConfidenceSparkline
|
|
{
|
|
public List<double?> data { get; set; }
|
|
public double? totalChange { get; set; }
|
|
}
|
|
|
|
public class ExplicitModifier
|
|
{
|
|
public string text { get; set; }
|
|
public bool? optional { get; set; }
|
|
}
|
|
|
|
public class LineDivination
|
|
{
|
|
public int? id { get; set; }
|
|
public string name { get; set; }
|
|
public string icon { get; set; }
|
|
public int? mapTier { get; set; }
|
|
public int? levelRequired { get; set; }
|
|
public string baseType { get; set; }
|
|
public int? stackSize { get; set; }
|
|
public object variant { get; set; }
|
|
public object prophecyText { get; set; }
|
|
public object artFilename { get; set; }
|
|
public int? links { get; set; }
|
|
public int? itemClass { get; set; }
|
|
public Sparkline sparkline { get; set; }
|
|
public LowConfidenceSparkline lowConfidenceSparkline { get; set; }
|
|
public List<object> implicitModifiers { get; set; }
|
|
public List<ExplicitModifier> explicitModifiers { get; set; }
|
|
public string flavourText { get; set; }
|
|
public bool? corrupted { get; set; }
|
|
public int? gemLevel { get; set; }
|
|
public int? gemQuality { get; set; }
|
|
public string itemType { get; set; }
|
|
public double chaosValue { get; set; }
|
|
public double exaltedValue { get; set; }
|
|
public double divineValue { get; set; }
|
|
public int count { get; set; }
|
|
public string detailsId { get; set; }
|
|
public object tradeInfo { get; set; }
|
|
public object mapRegion { get; set; }
|
|
public int? listingCount { get; set; }
|
|
}
|
|
|
|
public class Translations
|
|
{
|
|
}
|
|
|
|
public class Language
|
|
{
|
|
public string name { get; set; }
|
|
public Translations translations { get; set; }
|
|
}
|
|
|
|
public class RootDivination
|
|
{
|
|
public List<LineDivination> lines { get; set; }
|
|
public Language language { get; set; }
|
|
}
|
|
}
|
|
}
|