Class GraphQLInvalidJsonInputErrorImpl
java.lang.Object
com.commercetools.api.models.error.GraphQLInvalidJsonInputErrorImpl
- All Implemented Interfaces:
GraphQLErrorObject
,GraphQLInvalidJsonInputError
,io.vrap.rmf.base.client.ModelBase
public class GraphQLInvalidJsonInputErrorImpl
extends Object
implements GraphQLInvalidJsonInputError, io.vrap.rmf.base.client.ModelBase
Returned when an invalid JSON input has been sent. Either the JSON is syntactically incorrect or does not conform to the expected shape (for example is missing a required field).
The client application should validate the input according to the constraints described in the error message before sending the request.
-
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.api.models.error.GraphQLInvalidJsonInputError
INVALID_JSON_INPUT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getCode()
Error identifier.Further explanation about why the JSON is invalid.int
hashCode()
void
setDetailedErrorMessage
(String detailedErrorMessage) Further explanation about why the JSON is invalid.void
Error-specific additional fields.values()
Error-specific additional fields.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.error.GraphQLErrorObject
withGraphQLErrorObject
Methods inherited from interface com.commercetools.api.models.error.GraphQLInvalidJsonInputError
withGraphQLInvalidJsonInputError
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
GraphQLInvalidJsonInputErrorImpl
public GraphQLInvalidJsonInputErrorImpl()create empty instance
-
-
Method Details
-
getCode
Description copied from interface:GraphQLErrorObject
Error identifier.
- Specified by:
getCode
in interfaceGraphQLErrorObject
- Specified by:
getCode
in interfaceGraphQLInvalidJsonInputError
- Returns:
- code
-
values
Error-specific additional fields.
- Specified by:
values
in interfaceGraphQLErrorObject
- Returns:
- map of the pattern property values
-
getDetailedErrorMessage
Further explanation about why the JSON is invalid.
- Specified by:
getDetailedErrorMessage
in interfaceGraphQLInvalidJsonInputError
- Returns:
- detailedErrorMessage
-
setValue
Description copied from interface:GraphQLErrorObject
Error-specific additional fields.
- Specified by:
setValue
in interfaceGraphQLErrorObject
- Parameters:
key
- property namevalue
- property value
-
setDetailedErrorMessage
Description copied from interface:GraphQLInvalidJsonInputError
Further explanation about why the JSON is invalid.
- Specified by:
setDetailedErrorMessage
in interfaceGraphQLInvalidJsonInputError
- Parameters:
detailedErrorMessage
- value to be set
-
equals
-
hashCode
-