bb887b0901
* callbacks * controllers * Router override * make requests use interface * create Routers * extra parts
32 lines
702 B
C#
32 lines
702 B
C#
using System.Text.Json.Serialization;
|
|
using Core.Models.Utils;
|
|
|
|
namespace Core.Models.Eft.Game;
|
|
|
|
public class VersionValidateRequestData : IRequestData
|
|
{
|
|
[JsonPropertyName("version")]
|
|
public Version? Version { get; set; }
|
|
|
|
[JsonPropertyName("develop")]
|
|
public bool? Develop { get; set; }
|
|
}
|
|
|
|
public class 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; }
|
|
}
|