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
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic InvalidInputBuilderbuilder()builder factory method for InvalidInputstatic InvalidInputBuilderbuilder(InvalidInput template) create builder for InvalidInput instancecopyDeep()static InvalidInputdeepCopy(InvalidInput template) factory method to create a deep copy of InvalidInputstatic InvalidInputof()factory methodstatic InvalidInputof(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> TwithInvalidInput(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
-
copyDeep
InvalidInput copyDeep()- Specified by:
copyDeepin interfaceErrorObject
-
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
-