mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2025-12-16 14:30:31 +00:00
Misc
This commit is contained in:
@@ -23,11 +23,13 @@
|
||||
|
||||
using System;
|
||||
using System.Collections.Immutable;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Text.Json.Serialization;
|
||||
using ArchiSteamFarm.Helpers.Json;
|
||||
|
||||
namespace ArchiSteamFarm.Steam.Data;
|
||||
|
||||
[SuppressMessage("ReSharper", "ClassCannotBeInstantiated")]
|
||||
public sealed class InventoryAppData {
|
||||
[JsonInclude]
|
||||
[JsonPropertyName("appid")]
|
||||
@@ -88,4 +90,7 @@ public sealed class InventoryAppData {
|
||||
[JsonPropertyName("trade_permissions")]
|
||||
[JsonRequired]
|
||||
public string TradePermissions { get; private init; } = "";
|
||||
|
||||
[JsonConstructor]
|
||||
private InventoryAppData() { }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user