using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Assets.Scripts.Apis.Models { public class AddressDetail { /// /// 江苏省 /// public string province { get; set; } /// /// 南京市 /// public string city { get; set; } /// /// /// public string district { get; set; } /// /// /// public string street { get; set; } /// /// /// public string street_number { get; set; } /// /// /// public int city_code { get; set; } } public class LocationPoint { /// /// /// public string y { get; set; } /// /// /// public string x { get; set; } } public class LocationContent { /// /// /// public AddressDetail address_detail { get; set; } /// /// 江苏省南京市 /// public string address { get; set; } /// /// /// public LocationPoint point { get; set; } } public class LocationModel { /// /// CN|江苏|南京|None|CHINANET|0|0 /// public string address { get; set; } /// /// /// public LocationContent content { get; set; } /// /// /// public int status { get; set; } public string message { get; set; } } public class IpToGeoModel { /// /// /// public string ip { get; set; } /// /// /// public string continent_code { get; set; } /// /// /// public string country { get; set; } /// /// /// public string country_code { get; set; } /// /// /// public string country_code3 { get; set; } /// /// /// public string region { get; set; } /// /// /// public string region_code { get; set; } /// /// /// public string city { get; set; } /// /// /// public double latitude { get; set; } /// /// /// public double longitude { get; set; } /// /// /// public string timezone { get; set; } /// /// /// public int offset { get; set; } /// /// /// public int asn { get; set; } /// /// /// public string organization { get; set; } } }