More Types
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Core.Models.Eft.Game;
|
||||
|
||||
public class VersionValidateRequestData
|
||||
{
|
||||
[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; }
|
||||
}
|
||||
Reference in New Issue
Block a user