//----------------------------------------------------------------------- // // Copyright (c) 2016 Mapbox. All rights reserved. // //----------------------------------------------------------------------- namespace Mapbox.Directions { using System.Collections.Generic; using Mapbox.Json; using Mapbox.Utils; using Mapbox.Utils.JsonConverters; /// /// An Intersection from a Directions API call. /// public class Intersection { /// /// Gets or sets the out. /// /// The out. [JsonProperty("out", Order = 0)] public int Out { get; set; } /// /// Gets or sets the entry. /// /// The entry. [JsonProperty("entry", Order = 1)] public List Entry { get; set; } /// /// Gets or sets the bearings. /// /// The bearings. [JsonProperty("bearings", Order = 2)] public List Bearings { get; set; } /// /// Gets or sets the location. /// /// The location. [JsonProperty("location", Order = 3)] [JsonConverter(typeof(LonLatToVector2dConverter))] public Vector2d Location { get; set; } /// /// Gets or sets the in. /// /// The in. [JsonProperty("in", Order = 4, NullValueHandling = NullValueHandling.Ignore)] public int? In { get; set; } } }