Class VehicleEngineType

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

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

    • COMBUSTION

      public static final VehicleEngineType COMBUSTION
      Static value combustion for VehicleEngineType.
    • ELECTRIC

      public static final VehicleEngineType ELECTRIC
      Static value electric for VehicleEngineType.
  • Constructor Details

    • VehicleEngineType

      public VehicleEngineType()
  • Method Details

    • fromString

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

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