Enum ProfileFetchResult
- All Implemented Interfaces:
Serializable
,Comparable<ProfileFetchResult>
,java.lang.constant.Constable
The result status of a profile fetch.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe profile request failed for unknown reasons.The profile request failed because the profile was not found.The profile has not been fetched yet.The profile was successfully fetched.The profile request failed because too many requests were sent. -
Method Summary
Modifier and TypeMethodDescriptionstatic ProfileFetchResult
Returns the enum constant of this type with the specified name.static ProfileFetchResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FAILED
The profile request failed for unknown reasons. -
NOT_FOUND
The profile request failed because the profile was not found. -
PENDING
The profile has not been fetched yet. -
SUCCESS
The profile was successfully fetched. -
TOO_MANY_REQUESTS
The profile request failed because too many requests were sent.
-
-
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
-