Package com.azure.maps.route.models
Class RouteSectionType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<RouteSectionType>
com.azure.maps.route.models.RouteSectionType
public final class RouteSectionType
extends com.azure.core.util.ExpandableStringEnum<RouteSectionType>
Defines values for ResponseSectionType.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final RouteSectionType
Static value CAR_TRAIN for ResponseSectionType.static final RouteSectionType
Static value CARPOOL for ResponseSectionType.static final RouteSectionType
Static value COUNTRY for ResponseSectionType.static final RouteSectionType
Static value FERRY for ResponseSectionType.static final RouteSectionType
Static value MOTORWAY for ResponseSectionType.static final RouteSectionType
Static value PEDESTRIAN for ResponseSectionType.static final RouteSectionType
Static value TOLL_ROAD for ResponseSectionType.static final RouteSectionType
Static value TOLL_VIGNETTE for ResponseSectionType.static final RouteSectionType
Static value TRAFFIC for ResponseSectionType.static final RouteSectionType
Static value TRAVEL_MODE for ResponseSectionType.static final RouteSectionType
Static value TUNNEL for ResponseSectionType.static final RouteSectionType
Static value URBAN for ResponseSectionType. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic RouteSectionType
fromString
(String name) Creates or finds a ResponseSectionType from its string representation.static Collection<RouteSectionType>
values()
Gets known ResponseSectionType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
CAR_OR_TRAIN
Static value CAR_TRAIN for ResponseSectionType. -
COUNTRY
Static value COUNTRY for ResponseSectionType. -
FERRY
Static value FERRY for ResponseSectionType. -
MOTORWAY
Static value MOTORWAY for ResponseSectionType. -
PEDESTRIAN
Static value PEDESTRIAN for ResponseSectionType. -
TOLL_ROAD
Static value TOLL_ROAD for ResponseSectionType. -
TOLL_VIGNETTE
Static value TOLL_VIGNETTE for ResponseSectionType. -
TRAFFIC
Static value TRAFFIC for ResponseSectionType. -
TRAVEL_MODE
Static value TRAVEL_MODE for ResponseSectionType. -
TUNNEL
Static value TUNNEL for ResponseSectionType. -
CARPOOL
Static value CARPOOL for ResponseSectionType. -
URBAN
Static value URBAN for ResponseSectionType.
-
-
Constructor Details
-
RouteSectionType
public RouteSectionType()
-
-
Method Details
-
fromString
Creates or finds a ResponseSectionType from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding ResponseSectionType.
-
values
Gets known ResponseSectionType values.- Returns:
- known ResponseSectionType values.
-