You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

84 lines
2.0 KiB

using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GPSBusiness.Model
{
public class MapLocation
{
[JsonProperty("status")]
public object Status { get; set; }
[JsonProperty("info")]
public object Info { get; set; }
[JsonProperty("infocode")]
public object Infocode { get; set; }
[JsonProperty("regeocodes")]
public List<Regeocode> Regeocodes { get; set; }
[JsonProperty("regeocode")]
public Regeocode Regeocode { get; set; }
}
public class Regeocode
{
[JsonProperty("formatted_address")]
public object FormattedAddress { get; set; }
[JsonProperty("addressComponent")]
public AddressComponent AddressComponent { get; set; }
}
public class AddressComponent
{
[JsonProperty("country")]
public object Country { get; set; }
[JsonProperty("province")]
public object Province { get; set; }
[JsonProperty("city")]
public object City { get; set; }
[JsonProperty("citycode")]
public object Citycode { get; set; }
[JsonProperty("district")]
public object District { get; set; }
[JsonProperty("adcode")]
public object Adcode { get; set; }
[JsonProperty("township")]
public object Township { get; set; }
[JsonProperty("townCode")]
public object TownCode { get; set; }
[JsonProperty("streetNumber")]
public StreetNumber StreetNumber { get; set; }
}
public class StreetNumber
{
[JsonProperty("street")]
public object Street { get; set; }
[JsonProperty("number")]
public object Number { get; set; }
[JsonProperty("location")]
public object Location { get; set; }
[JsonProperty("direction")]
public object Direction { get; set; }
[JsonProperty("distance")]
public object Distance { get; set; }
}
}