Interface GraphQLAgentStoreDistributionChannelsUnsupportedError
- All Superinterfaces:
GraphQLErrorObject
Returned by a /responses request when the resolved Store has more than one entry in the distributionChannels array, which is not supported. To resolve this error, choose a Store with zero or one distribution channel.
Example to create an instance using the builder pattern
GraphQLAgentStoreDistributionChannelsUnsupportedError graphQLAgentStoreDistributionChannelsUnsupportedError = GraphQLAgentStoreDistributionChannelsUnsupportedError.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for GraphQLAgentStoreDistributionChannelsUnsupportedError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for GraphQLAgentStoreDistributionChannelsUnsupportedErrorcreate builder for GraphQLAgentStoreDistributionChannelsUnsupportedError instancecopyDeep()factory method to create a deep copy of GraphQLAgentStoreDistributionChannelsUnsupportedError@NotNull StringgetCode()One of the error codes that is listed on the Errors page.of()factory methodfactory method to create a shallow copy GraphQLAgentStoreDistributionChannelsUnsupportedErrorstatic tools.jackson.core.type.TypeReference<GraphQLAgentStoreDistributionChannelsUnsupportedError>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithGraphQLAgentStoreDistributionChannelsUnsupportedError(Function<GraphQLAgentStoreDistributionChannelsUnsupportedError, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.error.GraphQLErrorObject
setValue, values, withGraphQLErrorObject
-
Field Details
-
STORE_DISTRIBUTION_CHANNELS_UNSUPPORTED
discriminator value for GraphQLAgentStoreDistributionChannelsUnsupportedError- See Also:
-
-
Method Details
-
getCode
Description copied from interface:GraphQLErrorObjectOne of the error codes that is listed on the Errors page.
- Specified by:
getCodein interfaceGraphQLErrorObject- Returns:
- code
-
of
factory method- Returns:
- instance of GraphQLAgentStoreDistributionChannelsUnsupportedError
-
of
static GraphQLAgentStoreDistributionChannelsUnsupportedError of(GraphQLAgentStoreDistributionChannelsUnsupportedError template) factory method to create a shallow copy GraphQLAgentStoreDistributionChannelsUnsupportedError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
- Specified by:
copyDeepin interfaceGraphQLErrorObject
-
deepCopy
@Nullable static GraphQLAgentStoreDistributionChannelsUnsupportedError deepCopy(@Nullable GraphQLAgentStoreDistributionChannelsUnsupportedError template) factory method to create a deep copy of GraphQLAgentStoreDistributionChannelsUnsupportedError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for GraphQLAgentStoreDistributionChannelsUnsupportedError- Returns:
- builder
-
builder
static GraphQLAgentStoreDistributionChannelsUnsupportedErrorBuilder builder(GraphQLAgentStoreDistributionChannelsUnsupportedError template) create builder for GraphQLAgentStoreDistributionChannelsUnsupportedError instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withGraphQLAgentStoreDistributionChannelsUnsupportedError
default <T> T withGraphQLAgentStoreDistributionChannelsUnsupportedError(Function<GraphQLAgentStoreDistributionChannelsUnsupportedError, T> helper) accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
static tools.jackson.core.type.TypeReference<GraphQLAgentStoreDistributionChannelsUnsupportedError> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-