Interface GraphQLExtensionNoResponseError
- All Superinterfaces:
GraphQLErrorObject
Returned when the API Extension does not respond within the time limit, or could not be reached.
Example to create an instance using the builder pattern
GraphQLExtensionNoResponseError graphQLExtensionNoResponseError = GraphQLExtensionNoResponseError.builder()
.extensionId("{extensionId}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for GraphQLExtensionNoResponseError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for GraphQLExtensionNoResponseErrorbuilder
(GraphQLExtensionNoResponseError template) create builder for GraphQLExtensionNoResponseError instancedeepCopy
(GraphQLExtensionNoResponseError template) factory method to create a deep copy of GraphQLExtensionNoResponseError@NotNull String
getCode()
One of the error codes that is listed on the Errors page.@NotNull String
Unique identifier of the API Extension.User-defined unique identifier of the API Extension, if available.of()
factory methodof
(GraphQLExtensionNoResponseError template) factory method to create a shallow copy GraphQLExtensionNoResponseErrorvoid
setExtensionId
(String extensionId) Unique identifier of the API Extension.void
setExtensionKey
(String extensionKey) User-defined unique identifier of the API Extension, if available.static com.fasterxml.jackson.core.type.TypeReference<GraphQLExtensionNoResponseError>
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
-
EXTENSION_NO_RESPONSE
discriminator value for GraphQLExtensionNoResponseError- See Also:
-
-
Method Details
-
getCode
Description copied from interface:GraphQLErrorObject
One of the error codes that is listed on the Errors page.
- Specified by:
getCode
in interfaceGraphQLErrorObject
- Returns:
- code
-
getExtensionId
Unique identifier of the API Extension.
- Returns:
- extensionId
-
getExtensionKey
String getExtensionKey()User-defined unique identifier of the API Extension, if available.
- Returns:
- extensionKey
-
setExtensionId
Unique identifier of the API Extension.
- Parameters:
extensionId
- value to be set
-
setExtensionKey
User-defined unique identifier of the API Extension, if available.
- Parameters:
extensionKey
- value to be set
-
of
factory method- Returns:
- instance of GraphQLExtensionNoResponseError
-
of
factory method to create a shallow copy GraphQLExtensionNoResponseError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static GraphQLExtensionNoResponseError deepCopy(@Nullable GraphQLExtensionNoResponseError template) factory method to create a deep copy of GraphQLExtensionNoResponseError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for GraphQLExtensionNoResponseError- Returns:
- builder
-
builder
create builder for GraphQLExtensionNoResponseError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withGraphQLExtensionNoResponseError
default <T> T withGraphQLExtensionNoResponseError(Function<GraphQLExtensionNoResponseError, 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<GraphQLExtensionNoResponseError> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-