Class SearchDeactivatedErrorImpl
java.lang.Object
com.commercetools.api.models.error.SearchDeactivatedErrorImpl
- All Implemented Interfaces:
ErrorObject
,SearchDeactivatedError
,io.vrap.rmf.base.client.ModelBase
public class SearchDeactivatedErrorImpl
extends Object
implements SearchDeactivatedError, io.vrap.rmf.base.client.ModelBase
Returned when the indexing of Product information is deactivated in a Project.
To activate indexing, call Change Product Search Indexing Enabled and set enabled
to true
.
-
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.SearchDeactivatedError
SEARCH_DEACTIVATED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getCode()
Error identifier."The endpoint is deactivated for this project.
int
hashCode()
void
setMessage
(String message) "The endpoint is deactivated for this 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.ErrorObject
withErrorObject
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.error.SearchDeactivatedError
withSearchDeactivatedError
-
Constructor Details
-
SearchDeactivatedErrorImpl
public SearchDeactivatedErrorImpl()create empty instance
-
-
Method Details
-
getCode
Description copied from interface:ErrorObject
Error identifier.
- Specified by:
getCode
in interfaceErrorObject
- Specified by:
getCode
in interfaceSearchDeactivatedError
- Returns:
- code
-
getMessage
"The endpoint is deactivated for this project. Please enable it via the Project endpoint, via the Merchant Center in the Project settings, or reach out to Support to enable it."
- Specified by:
getMessage
in interfaceErrorObject
- Specified by:
getMessage
in interfaceSearchDeactivatedError
- Returns:
- message
-
values
Error-specific additional fields.
- Specified by:
values
in interfaceErrorObject
- Returns:
- map of the pattern property values
-
setMessage
Description copied from interface:SearchDeactivatedError
"The endpoint is deactivated for this project. Please enable it via the Project endpoint, via the Merchant Center in the Project settings, or reach out to Support to enable it."
- Specified by:
setMessage
in interfaceErrorObject
- Specified by:
setMessage
in interfaceSearchDeactivatedError
- Parameters:
message
- value to be set
-
setValue
Description copied from interface:ErrorObject
Error-specific additional fields.
- Specified by:
setValue
in interfaceErrorObject
- Parameters:
key
- property namevalue
- property value
-
equals
-
hashCode
-