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;
|
||||||
using System.Collections.Immutable;
|
using System.Collections.Immutable;
|
||||||
|
using System.Diagnostics.CodeAnalysis;
|
||||||
using System.Text.Json.Serialization;
|
using System.Text.Json.Serialization;
|
||||||
using ArchiSteamFarm.Helpers.Json;
|
using ArchiSteamFarm.Helpers.Json;
|
||||||
|
|
||||||
namespace ArchiSteamFarm.Steam.Data;
|
namespace ArchiSteamFarm.Steam.Data;
|
||||||
|
|
||||||
|
[SuppressMessage("ReSharper", "ClassCannotBeInstantiated")]
|
||||||
public sealed class InventoryAppData {
|
public sealed class InventoryAppData {
|
||||||
[JsonInclude]
|
[JsonInclude]
|
||||||
[JsonPropertyName("appid")]
|
[JsonPropertyName("appid")]
|
||||||
@@ -88,4 +90,7 @@ public sealed class InventoryAppData {
|
|||||||
[JsonPropertyName("trade_permissions")]
|
[JsonPropertyName("trade_permissions")]
|
||||||
[JsonRequired]
|
[JsonRequired]
|
||||||
public string TradePermissions { get; private init; } = "";
|
public string TradePermissions { get; private init; } = "";
|
||||||
|
|
||||||
|
[JsonConstructor]
|
||||||
|
private InventoryAppData() { }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user