d14e7cc155
Co-authored-by: Alex <clodanSPT@hotmail.com> Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
20 lines
453 B
C#
20 lines
453 B
C#
using System.Text.Json.Serialization;
|
|
using SPTarkov.Server.Core.Models.Enums;
|
|
|
|
namespace SPTarkov.Server.Core.Models.Eft.HttpResponse;
|
|
|
|
public record GetBodyResponseData<T>
|
|
{
|
|
|
|
|
|
[JsonPropertyName("err")]
|
|
public BackendErrorCodes? Err { get; set; }
|
|
|
|
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
|
|
[JsonPropertyName("errmsg")]
|
|
public string? ErrMsg { get; set; }
|
|
|
|
[JsonPropertyName("data")]
|
|
public T? Data { get; set; }
|
|
}
|