Class SimpleCategory

java.lang.Object
com.azure.core.util.ExpandableStringEnum<SimpleCategory>
com.azure.maps.route.models.SimpleCategory

public final class SimpleCategory extends com.azure.core.util.ExpandableStringEnum<SimpleCategory>
Defines values for SimpleCategory.
  • Field Details

    • JAM

      public static final SimpleCategory JAM
      Static value JAM for SimpleCategory.
    • ROAD_WORK

      public static final SimpleCategory ROAD_WORK
      Static value ROAD_WORK for SimpleCategory.
    • ROAD_CLOSURE

      public static final SimpleCategory ROAD_CLOSURE
      Static value ROAD_CLOSURE for SimpleCategory.
    • OTHER

      public static final SimpleCategory OTHER
      Static value OTHER for SimpleCategory.
  • Constructor Details

    • SimpleCategory

      public SimpleCategory()
  • Method Details

    • fromString

      public static SimpleCategory 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<SimpleCategory> values()
      Gets known SimpleCategory values.
      Returns:
      known SimpleCategory values.