Package com.authlete.common.dto
Enum CredentialOfferCreateResponse.Action
- java.lang.Object
-
- java.lang.Enum<CredentialOfferCreateResponse.Action>
-
- com.authlete.common.dto.CredentialOfferCreateResponse.Action
-
- All Implemented Interfaces:
Serializable
,Comparable<CredentialOfferCreateResponse.Action>
- Enclosing class:
- CredentialOfferCreateResponse
public static enum CredentialOfferCreateResponse.Action extends Enum<CredentialOfferCreateResponse.Action>
The result of the/vci/offer/create
API call.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTHLETE_ERROR
An error occurred on Authlete side.CALLER_ERROR
The API call was wrong.CREATED
The/vci/offer/create
API has created a credential offer successfully.FORBIDDEN
The feature of Verifiable Credentials is not enabled in the service configuration.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CredentialOfferCreateResponse.Action
valueOf(String name)
Returns the enum constant of this type with the specified name.static CredentialOfferCreateResponse.Action[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATED
public static final CredentialOfferCreateResponse.Action CREATED
The/vci/offer/create
API has created a credential offer successfully.
-
FORBIDDEN
public static final CredentialOfferCreateResponse.Action FORBIDDEN
The feature of Verifiable Credentials is not enabled in the service configuration.
-
CALLER_ERROR
public static final CredentialOfferCreateResponse.Action CALLER_ERROR
The API call was wrong. For example, thesubject
request parameter was missing.
-
AUTHLETE_ERROR
public static final CredentialOfferCreateResponse.Action AUTHLETE_ERROR
An error occurred on Authlete side.
-
-
Method Detail
-
values
public static CredentialOfferCreateResponse.Action[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CredentialOfferCreateResponse.Action c : CredentialOfferCreateResponse.Action.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CredentialOfferCreateResponse.Action valueOf(String name)
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
-
-