Package com.azure.maps.route.models
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 Summary
Modifier and TypeFieldDescriptionstatic final VehicleEngineType
Static value combustion for VehicleEngineType.static final VehicleEngineType
Static value electric for VehicleEngineType. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic VehicleEngineType
fromString
(String name) Creates or finds a VehicleEngineType from its string representation.static Collection<VehicleEngineType>
values()
Gets known VehicleEngineType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
COMBUSTION
Static value combustion for VehicleEngineType. -
ELECTRIC
Static value electric for VehicleEngineType.
-
-
Constructor Details
-
VehicleEngineType
public VehicleEngineType()
-
-
Method Details
-
fromString
Creates or finds a VehicleEngineType from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding VehicleEngineType.
-
values
Gets known VehicleEngineType values.- Returns:
- known VehicleEngineType values.
-