Class RouteDelayReason

java.lang.Object
com.azure.core.util.ExpandableStringEnum<RouteDelayReason>
com.azure.maps.route.models.RouteDelayReason
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class RouteDelayReason extends com.azure.core.util.ExpandableStringEnum<RouteDelayReason>
Type of the incident. Can currently be JAM, ROAD_WORK, ROAD_CLOSURE, or OTHER. See "tec" for detailed information.
  • Field Details

  • Constructor Details

    • RouteDelayReason

      @Deprecated public RouteDelayReason()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of SimpleCategory value.
  • Method Details

    • fromString

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

      public static Collection<RouteDelayReason> values()
      Gets known SimpleCategory values.
      Returns:
      known SimpleCategory values.