public class FlowSegmentDataResponse
extends com.tomtom.online.sdk.common.service.ServiceBaseResponse
Modifier and Type | Field and Description |
---|---|
protected double |
confidence |
protected java.util.List<LatLng> |
coordinates |
protected int |
currentSpeed |
protected double |
currentTravelTime |
protected int |
freeFlowSpeed |
protected double |
freeFlowTravelTime |
protected FunctionalRoadClass |
functionalRoadClass |
protected Optional<java.lang.String> |
openLR |
protected Optional<java.lang.Double> |
realtimeRatio |
Constructor and Description |
---|
FlowSegmentDataResponse() |
Modifier and Type | Method and Description |
---|---|
protected void |
addCoordinate(LatLng coordinate) |
double |
getConfidence()
Gets confidence.
|
ImmutableList<LatLng> |
getCoordinates()
Get a list of coordinates of a result.
|
int |
getCurrentSpeed()
Gets currentSpeed.
|
double |
getCurrentTravelTime()
Gets currentTravelTime.
|
int |
getFreeFlowSpeed()
Gets freeFlowSpeed.
|
double |
getFreeFlowTravelTime()
Gets freeFlowTravelTime.
|
FunctionalRoadClass |
getFunctionalRoadClass()
Gets functionalRoadClass.
|
Optional<java.lang.String> |
getOpenLR()
Gets openLR code.
|
Optional<java.lang.Double> |
getRraltimeRatio()
Gets realtimeRatio.
|
protected void |
setFunctionalRoadClass(int frc) |
protected void |
setOpenLR(java.lang.String openLR) |
protected void |
setRealtimeRatio(double realtimeRatio) |
protected final java.util.List<LatLng> coordinates
protected FunctionalRoadClass functionalRoadClass
protected int currentSpeed
protected int freeFlowSpeed
protected double currentTravelTime
protected double freeFlowTravelTime
protected double confidence
protected Optional<java.lang.Double> realtimeRatio
protected Optional<java.lang.String> openLR
public FunctionalRoadClass getFunctionalRoadClass()
protected void setFunctionalRoadClass(int frc)
public int getCurrentSpeed()
public int getFreeFlowSpeed()
public double getCurrentTravelTime()
public double getFreeFlowTravelTime()
public double getConfidence()
public Optional<java.lang.Double> getRraltimeRatio()
protected void setRealtimeRatio(double realtimeRatio)
public Optional<java.lang.String> getOpenLR()
protected void setOpenLR(java.lang.String openLR)
public ImmutableList<LatLng> getCoordinates()
protected void addCoordinate(LatLng coordinate)