Class SolutionLeg
- java.lang.Object
-
- global.maplink.trip.schema.v2.solution.SolutionLeg
-
public class SolutionLeg extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSolutionLeg.SolutionLegBuilder
-
Constructor Summary
Constructors Constructor Description SolutionLeg(Long distance, Long nominalDuration, Double averageSpeed, MaplinkPoints points, List<TurnByTurnInstruction> turnByTurn, Address firstPointAddress, LegResult placeCalculation, LegResult tollCalculation)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SolutionLeg.SolutionLegBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)DoublegetAverageSpeed()LonggetDistance()AddressgetFirstPointAddress()LonggetNominalDuration()LegResultgetPlaceCalculation()MaplinkPointsgetPoints()LegResultgetTollCalculation()List<TurnByTurnInstruction>getTurnByTurn()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
SolutionLeg
public SolutionLeg(Long distance, Long nominalDuration, Double averageSpeed, MaplinkPoints points, List<TurnByTurnInstruction> turnByTurn, Address firstPointAddress, LegResult placeCalculation, LegResult tollCalculation)
-
-
Method Detail
-
builder
public static SolutionLeg.SolutionLegBuilder builder()
-
getDistance
public Long getDistance()
-
getNominalDuration
public Long getNominalDuration()
-
getAverageSpeed
public Double getAverageSpeed()
-
getPoints
public MaplinkPoints getPoints()
-
getTurnByTurn
public List<TurnByTurnInstruction> getTurnByTurn()
-
getFirstPointAddress
public Address getFirstPointAddress()
-
getPlaceCalculation
public LegResult getPlaceCalculation()
-
getTollCalculation
public LegResult getTollCalculation()
-
canEqual
protected boolean canEqual(Object other)
-
-