Interface QueryComplexityLimitExceededError
- All Superinterfaces:
ErrorObject
QueryComplexityLimitExceededError
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
QueryComplexityLimitExceededError queryComplexityLimitExceededError = QueryComplexityLimitExceededError.builder()
.message("{message}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for QueryComplexityLimitExceededError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for QueryComplexityLimitExceededErrorbuilder
(QueryComplexityLimitExceededError template) create builder for QueryComplexityLimitExceededError instancedeepCopy
(QueryComplexityLimitExceededError template) factory method to create a deep copy of QueryComplexityLimitExceededError@NotNull String
getCode()
Error identifier.@NotNull String
Plain text description of the cause of the error.of()
factory methodof
(QueryComplexityLimitExceededError template) factory method to create a shallow copy QueryComplexityLimitExceededErrorvoid
setMessage
(String message) set messagestatic com.fasterxml.jackson.core.type.TypeReference<QueryComplexityLimitExceededError>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.error.ErrorObject
setValue, values, withErrorObject
-
Field Details
-
QUERY_COMPLEXITY_LIMIT_EXCEEDED
discriminator value for QueryComplexityLimitExceededError- See Also:
-
-
Method Details
-
getCode
Description copied from interface:ErrorObject
Error identifier.
- Specified by:
getCode
in interfaceErrorObject
- Returns:
- code
-
getMessage
Description copied from interface:ErrorObject
Plain text description of the cause of the error.
- Specified by:
getMessage
in interfaceErrorObject
- Returns:
- message
-
setMessage
set message- Specified by:
setMessage
in interfaceErrorObject
- Parameters:
message
- value to be set
-
of
factory method- Returns:
- instance of QueryComplexityLimitExceededError
-
of
factory method to create a shallow copy QueryComplexityLimitExceededError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static QueryComplexityLimitExceededError deepCopy(@Nullable QueryComplexityLimitExceededError template) factory method to create a deep copy of QueryComplexityLimitExceededError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for QueryComplexityLimitExceededError- Returns:
- builder
-
builder
create builder for QueryComplexityLimitExceededError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withQueryComplexityLimitExceededError
default <T> T withQueryComplexityLimitExceededError(Function<QueryComplexityLimitExceededError, 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<QueryComplexityLimitExceededError> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-