//----------------------------------------------------------------------- // // Copyright (c) 2016 Mapbox. All rights reserved. // //----------------------------------------------------------------------- namespace Mapbox.Directions { using System; using System.Collections.Generic; using Mapbox.Json; /// /// Directions response. /// #if !WINDOWS_UWP // http://stackoverflow.com/a/12903628 [Serializable] #endif public class DirectionsResponse { /// /// Gets or sets the routes. /// /// The routes. [JsonProperty("routes")] public List Routes { get; set; } /// /// Gets or sets the waypoints. /// /// The waypoints. [JsonProperty("waypoints")] public List Waypoints { get; set; } /// /// Gets or sets the code. /// /// The code. [JsonProperty("code")] public string Code { get; set; } } }