Files
Moonlight/Moonlight/App/ApiClients/IpLocate/Resources/IpLocate.cs
Marcel Baumgartner 30ff2a6350 Moved api models
2023-05-05 04:43:38 +02:00

48 lines
1.0 KiB
C#

using Newtonsoft.Json;
namespace Moonlight.App.ApiClients.IpLocate.Resources;
public class IpLocate
{
[JsonProperty("query")]
public string Query { get; set; }
[JsonProperty("status")]
public string Status { get; set; }
[JsonProperty("country")]
public string Country { get; set; }
[JsonProperty("countryCode")]
public string CountryCode { get; set; }
[JsonProperty("region")]
public string Region { get; set; }
[JsonProperty("regionName")]
public string RegionName { get; set; }
[JsonProperty("city")]
public string City { get; set; }
[JsonProperty("zip")]
public string Zip { get; set; }
[JsonProperty("lat")]
public double Lat { get; set; }
[JsonProperty("lon")]
public double Lon { get; set; }
[JsonProperty("timezone")]
public string Timezone { get; set; }
[JsonProperty("isp")]
public string Isp { get; set; }
[JsonProperty("org")]
public string Org { get; set; }
[JsonProperty("as")]
public string As { get; set; }
}