Class GraphQLMaxResourceLimitExceededErrorImpl
java.lang.Object
com.commercetools.api.models.error.GraphQLMaxResourceLimitExceededErrorImpl
- All Implemented Interfaces:
GraphQLErrorObject
,GraphQLMaxResourceLimitExceededError
,io.vrap.rmf.base.client.ModelBase
public class GraphQLMaxResourceLimitExceededErrorImpl
extends Object
implements GraphQLMaxResourceLimitExceededError, io.vrap.rmf.base.client.ModelBase
Returned when a resource type cannot be created as it has reached its limits.
The limits must be adjusted for this resource 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.api.models.error.GraphQLMaxResourceLimitExceededError
MAX_RESOURCE_LIMIT_EXCEEDED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getCode()
Error identifier.Resource type that reached its maximum limit of configured elements (for example, 100 Zones per Project).int
hashCode()
void
setExceededResource
(ReferenceTypeId exceededResource) Resource type that reached its maximum limit of configured elements (for example, 100 Zones per Project).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.GraphQLMaxResourceLimitExceededError
withGraphQLMaxResourceLimitExceededError
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
GraphQLMaxResourceLimitExceededErrorImpl
create empty instance
-
-
Method Details
-
getCode
Description copied from interface:GraphQLErrorObject
Error identifier.
- Specified by:
getCode
in interfaceGraphQLErrorObject
- Specified by:
getCode
in interfaceGraphQLMaxResourceLimitExceededError
- Returns:
- code
-
values
Error-specific additional fields.
- Specified by:
values
in interfaceGraphQLErrorObject
- Returns:
- map of the pattern property values
-
getExceededResource
Resource type that reached its maximum limit of configured elements (for example, 100 Zones per Project).
- Specified by:
getExceededResource
in interfaceGraphQLMaxResourceLimitExceededError
- Returns:
- exceededResource
-
setValue
Description copied from interface:GraphQLErrorObject
Error-specific additional fields.
- Specified by:
setValue
in interfaceGraphQLErrorObject
- Parameters:
key
- property namevalue
- property value
-
setExceededResource
Description copied from interface:GraphQLMaxResourceLimitExceededError
Resource type that reached its maximum limit of configured elements (for example, 100 Zones per Project).
- Specified by:
setExceededResource
in interfaceGraphQLMaxResourceLimitExceededError
- Parameters:
exceededResource
- value to be set
-
equals
-
hashCode
-