Builder

class Builder(code: String, routes: List<DirectionsRoute>)

Builder class for creating DirectionsResponse instances.

Parameters

code

String indicating the state of the response.

routes

List containing all the different route options.

Constructors

Link copied to clipboard
constructor(code: String, routes: List<DirectionsRoute>)

Functions

Link copied to clipboard

Builds a DirectionsResponse instance with the current builder values.

Link copied to clipboard

Sets the message.

Link copied to clipboard

Sets the UUID.

Link copied to clipboard

Sets the waypoints.