Interface GraphQLExternalOAuthFailedError
- All Superinterfaces:
GraphQLErrorObject
Returned when an external OAuth Introspection endpoint does not return a response within the time limit, or the response isn't compliant with RFC 7662 (for example, an HTTP status code like 500
).
Example to create an instance using the builder pattern
GraphQLExternalOAuthFailedError graphQLExternalOAuthFailedError = GraphQLExternalOAuthFailedError.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for GraphQLExternalOAuthFailedError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for GraphQLExternalOAuthFailedErrorbuilder
(GraphQLExternalOAuthFailedError template) create builder for GraphQLExternalOAuthFailedError instancedeepCopy
(GraphQLExternalOAuthFailedError template) factory method to create a deep copy of GraphQLExternalOAuthFailedError@NotNull String
getCode()
Error identifier.of()
factory methodof
(GraphQLExternalOAuthFailedError template) factory method to create a shallow copy GraphQLExternalOAuthFailedErrorstatic com.fasterxml.jackson.core.type.TypeReference<GraphQLExternalOAuthFailedError>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.error.GraphQLErrorObject
setValue, values, withGraphQLErrorObject
-
Field Details
-
EXTERNAL_O_AUTH_FAILED
discriminator value for GraphQLExternalOAuthFailedError- See Also:
-
-
Method Details
-
getCode
Description copied from interface:GraphQLErrorObject
Error identifier.
- Specified by:
getCode
in interfaceGraphQLErrorObject
- Returns:
- code
-
of
factory method- Returns:
- instance of GraphQLExternalOAuthFailedError
-
of
factory method to create a shallow copy GraphQLExternalOAuthFailedError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static GraphQLExternalOAuthFailedError deepCopy(@Nullable GraphQLExternalOAuthFailedError template) factory method to create a deep copy of GraphQLExternalOAuthFailedError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for GraphQLExternalOAuthFailedError- Returns:
- builder
-
builder
create builder for GraphQLExternalOAuthFailedError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withGraphQLExternalOAuthFailedError
default <T> T withGraphQLExternalOAuthFailedError(Function<GraphQLExternalOAuthFailedError, T> helper) accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<GraphQLExternalOAuthFailedError> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-