Interface InvalidInput
- All Superinterfaces:
ErrorObject
An invalid input has been sent to the service. The client application should validate the input according to the constraints described in the error message before sending the request again.
Example to create an instance using the builder pattern
InvalidInput invalidInput = InvalidInput.builder()
.message("{message}")
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic InvalidInputBuilder
builder()
builder factory method for InvalidInputstatic InvalidInputBuilder
builder
(InvalidInput template) create builder for InvalidInput instancestatic InvalidInput
deepCopy
(InvalidInput template) factory method to create a deep copy of InvalidInputstatic InvalidInput
of()
factory methodstatic InvalidInput
of
(InvalidInput template) factory method to create a shallow copy InvalidInputstatic com.fasterxml.jackson.core.type.TypeReference<InvalidInput>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withInvalidInput
(Function<InvalidInput, T> helper) accessor map functionMethods inherited from interface com.commercetools.importapi.models.errors.ErrorObject
getCode, getMessage, setMessage, withErrorObject
-
Field Details
-
INVALID_INPUT
discriminator value for InvalidInput- See Also:
-
-
Method Details
-
of
factory method- Returns:
- instance of InvalidInput
-
of
factory method to create a shallow copy InvalidInput- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of InvalidInput- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for InvalidInput- Returns:
- builder
-
builder
create builder for InvalidInput instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withInvalidInput
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-