Class AnonymousIdAlreadyInUseErrorImpl
java.lang.Object
com.commercetools.api.models.error.AnonymousIdAlreadyInUseErrorImpl
- All Implemented Interfaces:
AnonymousIdAlreadyInUseError,ErrorObject,io.vrap.rmf.base.client.ModelBase
public class AnonymousIdAlreadyInUseErrorImpl
extends Object
implements AnonymousIdAlreadyInUseError, io.vrap.rmf.base.client.ModelBase
Returned when the anonymous ID is being used by another resource.
The client application should choose another anonymous ID or retrieve an automatically generated one.
-
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.AnonymousIdAlreadyInUseError
ANONYMOUS_ID_ALREADY_IN_USE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopyDeep()booleangetCode()Error identifier."The given anonymous ID is already in use."inthashCode()voidsetMessage(String message) "The given anonymous ID is already in use."voidError-specific additional fields.toString()values()Error-specific additional fields.Methods inherited from interface com.commercetools.api.models.error.AnonymousIdAlreadyInUseError
withAnonymousIdAlreadyInUseErrorMethods inherited from interface com.commercetools.api.models.error.ErrorObject
withErrorObjectMethods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
AnonymousIdAlreadyInUseErrorImpl
public AnonymousIdAlreadyInUseErrorImpl()create empty instance
-
-
Method Details
-
getCode
Description copied from interface:ErrorObjectError identifier.
- Specified by:
getCodein interfaceAnonymousIdAlreadyInUseError- Specified by:
getCodein interfaceErrorObject- Returns:
- code
-
getMessage
"The given anonymous ID is already in use."- Specified by:
getMessagein interfaceAnonymousIdAlreadyInUseError- Specified by:
getMessagein interfaceErrorObject- Returns:
- message
-
values
Error-specific additional fields.
- Specified by:
valuesin interfaceErrorObject- Returns:
- map of the pattern property values
-
setMessage
Description copied from interface:AnonymousIdAlreadyInUseError"The given anonymous ID is already in use."- Specified by:
setMessagein interfaceAnonymousIdAlreadyInUseError- Specified by:
setMessagein interfaceErrorObject- Parameters:
message- value to be set
-
setValue
Description copied from interface:ErrorObjectError-specific additional fields.
- Specified by:
setValuein interfaceErrorObject- Parameters:
key- property namevalue- property value
-
equals
-
hashCode
public int hashCode() -
toString
-
copyDeep
- Specified by:
copyDeepin interfaceAnonymousIdAlreadyInUseError- Specified by:
copyDeepin interfaceErrorObject
-