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 Details

    • CAR_OR_TRAIN

      public static final RouteSectionType CAR_OR_TRAIN
      Static value CAR_TRAIN for ResponseSectionType.
    • COUNTRY

      public static final RouteSectionType COUNTRY
      Static value COUNTRY for ResponseSectionType.
    • FERRY

      public static final RouteSectionType FERRY
      Static value FERRY for ResponseSectionType.
    • MOTORWAY

      public static final RouteSectionType MOTORWAY
      Static value MOTORWAY for ResponseSectionType.
    • PEDESTRIAN

      public static final RouteSectionType PEDESTRIAN
      Static value PEDESTRIAN for ResponseSectionType.
    • TOLL_ROAD

      public static final RouteSectionType TOLL_ROAD
      Static value TOLL_ROAD for ResponseSectionType.
    • TOLL_VIGNETTE

      public static final RouteSectionType TOLL_VIGNETTE
      Static value TOLL_VIGNETTE for ResponseSectionType.
    • TRAFFIC

      public static final RouteSectionType TRAFFIC
      Static value TRAFFIC for ResponseSectionType.
    • TRAVEL_MODE

      public static final RouteSectionType TRAVEL_MODE
      Static value TRAVEL_MODE for ResponseSectionType.
    • TUNNEL

      public static final RouteSectionType TUNNEL
      Static value TUNNEL for ResponseSectionType.
    • CARPOOL

      public static final RouteSectionType CARPOOL
      Static value CARPOOL for ResponseSectionType.
    • URBAN

      public static final RouteSectionType URBAN
      Static value URBAN for ResponseSectionType.
  • Constructor Details

    • RouteSectionType

      public RouteSectionType()
  • Method Details

    • fromString

      public static RouteSectionType fromString(String name)
      Creates or finds a ResponseSectionType from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding ResponseSectionType.
    • values

      public static Collection<RouteSectionType> values()
      Gets known ResponseSectionType values.
      Returns:
      known ResponseSectionType values.