Class GraphQLProjectNotConfiguredForLanguagesErrorImpl
java.lang.Object
com.commercetools.api.models.error.GraphQLProjectNotConfiguredForLanguagesErrorImpl
- All Implemented Interfaces:
GraphQLErrorObject
,GraphQLProjectNotConfiguredForLanguagesError
,io.vrap.rmf.base.client.ModelBase
public class GraphQLProjectNotConfiguredForLanguagesErrorImpl
extends Object
implements GraphQLProjectNotConfiguredForLanguagesError, io.vrap.rmf.base.client.ModelBase
Returned when the languages set for a Store are not supported by the Project.
The error is returned as a failed response to the Set Languages update action.
-
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.GraphQLProjectNotConfiguredForLanguagesError
PROJECT_NOT_CONFIGURED_FOR_LANGUAGES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getCode()
Error identifier.Languages configured for the Store.int
hashCode()
void
setLanguages
(String... languages) Languages configured for the Store.void
setLanguages
(List<String> languages) Languages configured for the Store.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.GraphQLProjectNotConfiguredForLanguagesError
withGraphQLProjectNotConfiguredForLanguagesError
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
GraphQLProjectNotConfiguredForLanguagesErrorImpl
create empty instance
-
-
Method Details
-
getCode
Description copied from interface:GraphQLErrorObject
Error identifier.
- Specified by:
getCode
in interfaceGraphQLErrorObject
- Specified by:
getCode
in interfaceGraphQLProjectNotConfiguredForLanguagesError
- Returns:
- code
-
values
Error-specific additional fields.
- Specified by:
values
in interfaceGraphQLErrorObject
- Returns:
- map of the pattern property values
-
getLanguages
Languages configured for the Store.
- Specified by:
getLanguages
in interfaceGraphQLProjectNotConfiguredForLanguagesError
- Returns:
- languages
-
setValue
Description copied from interface:GraphQLErrorObject
Error-specific additional fields.
- Specified by:
setValue
in interfaceGraphQLErrorObject
- Parameters:
key
- property namevalue
- property value
-
setLanguages
Description copied from interface:GraphQLProjectNotConfiguredForLanguagesError
Languages configured for the Store.
- Specified by:
setLanguages
in interfaceGraphQLProjectNotConfiguredForLanguagesError
- Parameters:
languages
- values to be set
-
setLanguages
Description copied from interface:GraphQLProjectNotConfiguredForLanguagesError
Languages configured for the Store.
- Specified by:
setLanguages
in interfaceGraphQLProjectNotConfiguredForLanguagesError
- Parameters:
languages
- values to be set
-
equals
-
hashCode
-