Class InvalidJsonInputImpl
java.lang.Object
com.commercetools.importapi.models.errors.InvalidJsonInputImpl
- All Implemented Interfaces:
ErrorObject
,InvalidJsonInput
,io.vrap.rmf.base.client.ModelBase
public class InvalidJsonInputImpl
extends Object
implements InvalidJsonInput, io.vrap.rmf.base.client.ModelBase
An invalid JSON input has been sent to the service. Either the JSON is syntactically incorrect or the JSON has an unexpected shape, for example, a required field is missing. The client application should validate the input according to the constraints described in the error message before sending the request again.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.importapi.models.errors.InvalidJsonInput
INVALID_JSON_INPUT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getCode()
int
hashCode()
void
setMessage
(String message) set messageMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.importapi.models.errors.ErrorObject
withErrorObject
Methods inherited from interface com.commercetools.importapi.models.errors.InvalidJsonInput
withInvalidJsonInput
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
InvalidJsonInputImpl
public InvalidJsonInputImpl()create empty instance
-
-
Method Details
-
getCode
- Specified by:
getCode
in interfaceErrorObject
- Returns:
- code
-
getMessage
- Specified by:
getMessage
in interfaceErrorObject
- Returns:
- message
-
setMessage
Description copied from interface:ErrorObject
set message- Specified by:
setMessage
in interfaceErrorObject
- Parameters:
message
- value to be set
-
equals
-
hashCode
public int hashCode()
-