RouteInfo

data class RouteInfo(val originPortId: Int = INT_INVALID, val destinationPortId: Int = INT_INVALID, val duration: String = EMPTY_STR, val sequence: Int = INT_INVALID, val distance: Int = INT_INVALID, val segmentPolyline: String = EMPTY_STR)

RouteInfo is the specific internal record response for Route.

Constructors

Link copied to clipboard
constructor(originPortId: Int = INT_INVALID, destinationPortId: Int = INT_INVALID, duration: String = EMPTY_STR, sequence: Int = INT_INVALID, distance: Int = INT_INVALID, segmentPolyline: String = EMPTY_STR)

Properties

Link copied to clipboard

Int The destination port id.

Link copied to clipboard

Int The distance of the route.

Link copied to clipboard

String The duration of the route.

Link copied to clipboard

Int The origin port id.

Link copied to clipboard

String The polyline of the route.

Link copied to clipboard

Int The sequence of the route.