Enum OneCallResultOptions
java.lang.Object
java.lang.Enum<OneCallResultOptions>
com.github.prominence.openweathermap.api.enums.OneCallResultOptions
- All Implemented Interfaces:
Serializable, Comparable<OneCallResultOptions>, java.lang.constant.Constable
The enum One call result options.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetValue()Gets value.static OneCallResultOptionsReturns the enum constant of this type with the specified name.static OneCallResultOptions[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CURRENT
Current one call result options. -
MINUTELY
Minutely one call result options. -
HOURLY
Hourly one call result options. -
DAILY
Daily one call result options. -
ALERTS
Alerts one call result options.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
-