public static class AuthStateModel.GeoVelocityResponse extends Object
AuthStateModel
GeoVelocity analysis requestConstructor and Description |
---|
GeoVelocityResponse(Long timeDifference,
Double kmDistance,
Boolean maxKmPerSExceeded)
Create new GeoVelocityResponse
|
Modifier and Type | Method and Description |
---|---|
String |
getCurrentSource()
Get current source address
|
Double |
getKmDistance()
Get distance between points in KM
|
Boolean |
getMaxKmPerSecondExceeded()
Return true if max KM/s was exceeded
|
String |
getPreviousSource()
Get previous source address
|
Long |
getTimeDifference()
Get difference in time in seconds
|
AuthStateModel.GeoVelocityResponse |
withCurrentSource(String currentSource)
Set current source address
|
AuthStateModel.GeoVelocityResponse |
withPreviousSource(String previousSource)
Set previous source address
|
public String getPreviousSource()
public String getCurrentSource()
public AuthStateModel.GeoVelocityResponse withPreviousSource(String previousSource)
previousSource
- Previous source addresspublic AuthStateModel.GeoVelocityResponse withCurrentSource(String currentSource)
currentSource
- Current source addresspublic Long getTimeDifference()
public Boolean getMaxKmPerSecondExceeded()
public Double getKmDistance()
Copyright © 2022. All rights reserved.