@Beta(2020, 12) data class RouteDescriptor
Represents route descriptor used during route plan.
reportType
- Specifies which data should be reported for diagnosis purposes.
departAt
- The date and time of departure from the origin point.
routeType
- The type of route requested.
traffic
- Specifies whether the traffic information will be considered.
avoidTypes
- Specifies something that the route calculation should try to avoid when determining the route.
travelMode
- The mode of travel for the requested route.
avoidVignettes
- Specifies countries in which all toll roads and vignettes will be avoided.
allowVignettes
- Specifies countries in which all toll roads and vignettes will be allowed.
avoidAreas
- Specifies areas which will be avoided.
routeRepresentation
- The representation of the set of routes provided as a Response.
vehicleHeading
- The directional heading of the vehicle in degrees starting at true North and continuing in a
clockwise direction.
sectionType
- can be specified multiple times.
class Builder
Builder used to create an instance of RouteDescriptor. Once constructed, the user cannot change the field values. |
val allowVignettes: List<String>
Specifies countries in which all toll roads and vignettes will be allowed. |
|
val avoidAreas: List<BoundingBox>
Specifies areas which will be avoided. |
|
val avoidTypes: List<AvoidType>
Specifies something that the route calculation should try to avoid when determining the route. |
|
val avoidVignettes: List<String>
Specifies countries in which all toll roads and vignettes will be avoided. |
|
val departAt: String?
The date and time of departure from the origin point. |
|
val reportType: ReportType
Specifies which data should be reported for diagnosis purposes. |
|
val routeRepresentation: RouteRepresentation
The representation of the set of routes provided as a Response. |
|
val routeType: RouteType
The type of route requested. |
|
val sectionType: SectionType
can be specified multiple times. |
|
val traffic: Boolean
Specifies whether the traffic information will be considered. |
|
val travelMode: TravelMode
The mode of travel for the requested route. |
|
val vehicleHeading: Int?
The directional heading of the vehicle in degrees starting at true North and continuing in a clockwise direction. |