Package com.azure.maps.traffic.models
Class SpeedUnit
java.lang.Object
com.azure.core.util.ExpandableStringEnum<SpeedUnit>
com.azure.maps.traffic.models.SpeedUnit
Defines values for SpeedUnit.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SpeedUnit
fromString
(String name) Creates or finds a SpeedUnit from its string representation.static Collection<SpeedUnit>
values()
Gets known SpeedUnit values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
KMPH
Static value KMPH for SpeedUnit. -
MPH
Static value MPH for SpeedUnit.
-
-
Constructor Details
-
SpeedUnit
public SpeedUnit()
-
-
Method Details
-
fromString
Creates or finds a SpeedUnit from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding SpeedUnit.
-
values
Gets known SpeedUnit values.- Returns:
- known SpeedUnit values.
-