LootDumpProcessor/Model/Input/TraderService.cs
Refringe a320d24ee4
Changes for 3.10 (32160)
- Updates the Model/Input classes to match the new export JSON structure
- Updates references to model structure
- Updates SevenZipSharp package
- Adds a few null checks
2024-08-22 15:33:27 -04:00

28 lines
1.0 KiB
C#

using System.Text.Json.Serialization;
using Newtonsoft.Json;
namespace LootDumpProcessor.Model.Input
{
public class TraderService
{
[JsonProperty("TraderId", NullValueHandling = NullValueHandling.Ignore)]
[JsonPropertyName("TraderId")]
public string? TraderID { get; set; }
[JsonProperty("TraderServiceType", NullValueHandling = NullValueHandling.Ignore)]
[JsonPropertyName("TraderServiceType")]
public string? TraderServiceType { get; set; }
[JsonProperty("Requirements", NullValueHandling = NullValueHandling.Ignore)]
[JsonPropertyName("Requirements")]
public Requirements? Requirements { get; set; }
[JsonProperty("ServiceItemCost", NullValueHandling = NullValueHandling.Ignore)]
[JsonPropertyName("ServiceItemCost")]
public object? ServiceItemCost { get; set; }
[JsonProperty("UniqueItems", NullValueHandling = NullValueHandling.Ignore)]
[JsonPropertyName("UniqueItems")]
public List<object>? UniqueItems { get; set; }
}
}