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
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for GraphQLExtensionNoResponseError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for GraphQLExtensionNoResponseErrorbuilder(GraphQLExtensionNoResponseError template) create builder for GraphQLExtensionNoResponseError instancecopyDeep()deepCopy(GraphQLExtensionNoResponseError template) factory method to create a deep copy of GraphQLExtensionNoResponseError@NotNull StringgetCode()One of the error codes that is listed on the Errors page.@NotNull StringUnique 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 GraphQLExtensionNoResponseErrorvoidsetExtensionId(String extensionId) Unique identifier of the API Extension.voidsetExtensionKey(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> Taccessor 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:GraphQLErrorObjectOne of the error codes that is listed on the Errors page.
- Specified by:
getCodein 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
-
copyDeep
GraphQLExtensionNoResponseError copyDeep()- Specified by:
copyDeepin interfaceGraphQLErrorObject
-
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
-