d14e7cc155
Co-authored-by: Alex <clodanSPT@hotmail.com> Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
36 lines
737 B
C#
36 lines
737 B
C#
using System.Text.Json.Serialization;
|
|
using SPTarkov.Server.Core.Models.Utils;
|
|
|
|
namespace SPTarkov.Server.Core.Models.Eft.Game;
|
|
|
|
public record VersionValidateRequestData : IRequestData
|
|
{
|
|
|
|
|
|
[JsonPropertyName("version")]
|
|
public Version? Version { get; set; }
|
|
|
|
[JsonPropertyName("develop")]
|
|
public bool? Develop { get; set; }
|
|
}
|
|
|
|
public record Version
|
|
{
|
|
|
|
|
|
[JsonPropertyName("major")]
|
|
public string? Major { get; set; }
|
|
|
|
[JsonPropertyName("minor")]
|
|
public string? Minor { get; set; }
|
|
|
|
[JsonPropertyName("game")]
|
|
public string? Game { get; set; }
|
|
|
|
[JsonPropertyName("backend")]
|
|
public string? Backend { get; set; }
|
|
|
|
[JsonPropertyName("taxonomy")]
|
|
public string? Taxonomy { get; set; }
|
|
}
|