Package com.azure.maps.weather.models
Class HourlyDuration
java.lang.Object
com.azure.core.util.ExpandableStringEnum<HourlyDuration>
com.azure.maps.weather.models.HourlyDuration
Defines values for HourlyDuration.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HourlyDuration
Static value 48 for HourlyDuration.static final HourlyDuration
Static value 96 for HourlyDuration.static final HourlyDuration
Static value 1 for HourlyDuration.static final HourlyDuration
Static value 72 for HourlyDuration.static final HourlyDuration
Static value 12 for HourlyDuration.static final HourlyDuration
Static value 24 for HourlyDuration. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic HourlyDuration
fromInt
(int name) Creates or finds a HourlyDuration from its string representation.static Collection<HourlyDuration>
values()
Gets known HourlyDuration values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
ONE_HOUR
Static value 1 for HourlyDuration. -
TWELVE_HOURS
Static value 12 for HourlyDuration. -
TWENTY_FOUR_HOURS
Static value 24 for HourlyDuration. -
FORTY_EIGHT_HOURS
Static value 48 for HourlyDuration. -
SEVENTY_TWO_HOURS
Static value 72 for HourlyDuration. -
NINETY_SIX_HOURS
Static value 96 for HourlyDuration.
-
-
Constructor Details
-
HourlyDuration
public HourlyDuration()
-
-
Method Details
-
fromInt
Creates or finds a HourlyDuration from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding HourlyDuration.
-
values
Gets known HourlyDuration values.- Returns:
- known HourlyDuration values.
-