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