mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2025-12-21 08:48:38 +00:00
Misc
This commit is contained in:
@@ -23,21 +23,17 @@
|
|||||||
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
using System.Diagnostics.CodeAnalysis;
|
||||||
using System.Text.Json.Serialization;
|
using System.Text.Json.Serialization;
|
||||||
|
using ArchiSteamFarm.Steam.Data;
|
||||||
|
|
||||||
namespace ArchiSteamFarm.OfficialPlugins.SteamTokenDumper.Data;
|
namespace ArchiSteamFarm.OfficialPlugins.SteamTokenDumper.Data;
|
||||||
|
|
||||||
#pragma warning disable CA1812 // False positive, the class is used during json deserialization
|
#pragma warning disable CA1812 // False positive, the class is used during json deserialization
|
||||||
[SuppressMessage("ReSharper", "ClassCannotBeInstantiated")]
|
[SuppressMessage("ReSharper", "ClassCannotBeInstantiated")]
|
||||||
internal sealed class SubmitResponse {
|
internal sealed class SubmitResponse : BooleanResponse {
|
||||||
[JsonInclude]
|
[JsonInclude]
|
||||||
[JsonPropertyName("data")]
|
[JsonPropertyName("data")]
|
||||||
internal SubmitResponseData? Data { get; private init; }
|
internal SubmitResponseData? Data { get; private init; }
|
||||||
|
|
||||||
[JsonInclude]
|
|
||||||
[JsonPropertyName("success")]
|
|
||||||
[JsonRequired]
|
|
||||||
internal bool Success { get; private init; }
|
|
||||||
|
|
||||||
[JsonConstructor]
|
[JsonConstructor]
|
||||||
private SubmitResponse() { }
|
private SubmitResponse() { }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user