This commit is contained in:
Archi 2024-03-21 22:37:09 +01:00
parent a1adcd3a5a
commit f874598fd8
No known key found for this signature in database
GPG key ID: 6B138B4C64555AEA

View file

@ -23,21 +23,17 @@
using System.Diagnostics.CodeAnalysis;
using System.Text.Json.Serialization;
using ArchiSteamFarm.Steam.Data;
namespace ArchiSteamFarm.OfficialPlugins.SteamTokenDumper.Data;
#pragma warning disable CA1812 // False positive, the class is used during json deserialization
[SuppressMessage("ReSharper", "ClassCannotBeInstantiated")]
internal sealed class SubmitResponse {
internal sealed class SubmitResponse : BooleanResponse {
[JsonInclude]
[JsonPropertyName("data")]
internal SubmitResponseData? Data { get; private init; }
[JsonInclude]
[JsonPropertyName("success")]
[JsonRequired]
internal bool Success { get; private init; }
[JsonConstructor]
private SubmitResponse() { }
}