Route request being made (Needs polling)
This commit is contained in:
18
Models/JSON/RouteRequest.cs
Normal file
18
Models/JSON/RouteRequest.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace EFB.Models.JSON
|
||||
{
|
||||
public class RouteRequest
|
||||
{
|
||||
[JsonProperty]
|
||||
public string departure { get; set; }
|
||||
[JsonProperty]
|
||||
public string destination { get; set; }
|
||||
[JsonProperty]
|
||||
public uint preferredminlevel { get; set; }
|
||||
[JsonProperty]
|
||||
public uint preferredmaxlevel { get; set; }
|
||||
[JsonProperty]
|
||||
public string optimise { get; } = "preferred";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user