Class RouteTravelModeOptions

    • Method Detail

      • car

        public final RouteCarOptions car()

        Travel mode options when the provided travel mode is "Car"

        Returns:
        Travel mode options when the provided travel mode is "Car"
      • pedestrian

        public final RoutePedestrianOptions pedestrian()

        Travel mode options when the provided travel mode is "Pedestrian"

        Returns:
        Travel mode options when the provided travel mode is "Pedestrian"
      • scooter

        public final RouteScooterOptions scooter()

        Travel mode options when the provided travel mode is Scooter

        When travel mode is set to Scooter, then the avoidance option ControlledAccessHighways defaults to true.

        Returns:
        Travel mode options when the provided travel mode is Scooter

        When travel mode is set to Scooter, then the avoidance option ControlledAccessHighways defaults to true.

      • truck

        public final RouteTruckOptions truck()

        Travel mode options when the provided travel mode is "Truck"

        Returns:
        Travel mode options when the provided travel mode is "Truck"
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)