public enum ZendriveStarRating extends Enum<ZendriveStarRating> implements ZendriveValueEnum
Enum Constant and Description |
---|
FIVE |
FOUR |
NOT_AVAILABLE
Reported when rating is absent.
|
ONE |
THREE |
TWO |
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Provides a value for each enum value that is stable across releases.
|
static ZendriveStarRating |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZendriveStarRating[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZendriveStarRating FIVE
public static final ZendriveStarRating FOUR
public static final ZendriveStarRating THREE
public static final ZendriveStarRating TWO
public static final ZendriveStarRating ONE
public static final ZendriveStarRating NOT_AVAILABLE
public static ZendriveStarRating[] values()
for (ZendriveStarRating c : ZendriveStarRating.values()) System.out.println(c);
public static ZendriveStarRating valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
ZendriveValueEnum
The value is consistent with the enum values returned by the iOS SDK.
getValue
in interface ZendriveValueEnum