2017-04-03 21:18:18 +00:00
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
2017-07-17 19:42:36 +00:00
|
|
|
|
namespace NadekoBot.Modules.Searches.Common
|
2017-04-03 21:18:18 +00:00
|
|
|
|
{
|
|
|
|
|
public class TimeZoneResult
|
|
|
|
|
{
|
|
|
|
|
public double DstOffset { get; set; }
|
|
|
|
|
public double RawOffset { get; set; }
|
|
|
|
|
|
|
|
|
|
//public string TimeZoneId { get; set; }
|
|
|
|
|
public string TimeZoneName { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class GeolocationResult
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public class GeolocationModel
|
|
|
|
|
{
|
|
|
|
|
public class GeometryModel
|
|
|
|
|
{
|
|
|
|
|
public class LocationModel
|
|
|
|
|
{
|
|
|
|
|
public float Lat { get; set; }
|
|
|
|
|
public float Lng { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public LocationModel Location { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[JsonProperty("formatted_address")]
|
|
|
|
|
public string FormattedAddress { get; set; }
|
|
|
|
|
public GeometryModel Geometry { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public GeolocationModel[] results;
|
|
|
|
|
}
|
|
|
|
|
}
|