/// <summary> /// Returns true if ResponseInstructions instances are equal /// </summary> /// <param name="input">Instance of ResponseInstructions to be compared</param> /// <returns>Boolean</returns> public bool Equals(ResponseInstructions input) { if (input == null) { return(false); } return(base.Equals(input)); }
/// <summary> /// Returns true if ResponseInstructions instances are equal /// </summary> /// <param name="other">Instance of ResponseInstructions to be compared</param> /// <returns>Boolean</returns> public bool Equals(ResponseInstructions other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) { return(false); } return(false); }
/// <summary> /// Initializes a new instance of the <see cref="RouteResponsePath" /> class. /// </summary> /// <param name="Distance">The total distance of the route, in meter.</param> /// <param name="Time">The total time of the route, in ms.</param> /// <param name="Ascend">Ascend.</param> /// <param name="Descend">The total descend (downhill) of the route, in meter.</param> /// <param name="Points">Points.</param> /// <param name="PointsEncoded">Is true if the points are encoded, if not paths[0].points contains the geo json of the path (then order is lon,lat,elevation), which is easier to handle but consumes more bandwidth compared to encoded version.</param> /// <param name="Bbox">The bounding box of the route, format <br> minLon, minLat, maxLon, maxLat.</param> /// <param name="SnappedWaypoints">SnappedWaypoints.</param> /// <param name="Instructions">Instructions.</param> public RouteResponsePath(double?Distance = default(double?), long?Time = default(long?), double?Ascend = default(double?), double?Descend = default(double?), ResponseCoordinates Points = default(ResponseCoordinates), bool?PointsEncoded = default(bool?), List <double?> Bbox = default(List <double?>), ResponseCoordinates SnappedWaypoints = default(ResponseCoordinates), ResponseInstructions Instructions = default(ResponseInstructions)) { this.Distance = Distance; this.Time = Time; this.Ascend = Ascend; this.Descend = Descend; this.Points = Points; this.PointsEncoded = PointsEncoded; this.Bbox = Bbox; this.SnappedWaypoints = SnappedWaypoints; this.Instructions = Instructions; }