Class GraphQLAgentProductSearchNotEnabledErrorBuilder
java.lang.Object
com.commercetools.api.models.agent.GraphQLAgentProductSearchNotEnabledErrorBuilder
- All Implemented Interfaces:
Builder<GraphQLAgentProductSearchNotEnabledError>
public class GraphQLAgentProductSearchNotEnabledErrorBuilder
extends Object
implements Builder<GraphQLAgentProductSearchNotEnabledError>
GraphQLAgentProductSearchNotEnabledErrorBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
GraphQLAgentProductSearchNotEnabledError graphQLAgentProductSearchNotEnabledError = GraphQLAgentProductSearchNotEnabledError.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionError-specific additional fields.build()builds GraphQLAgentProductSearchNotEnabledError with checking for non-null required valuesbuilds GraphQLAgentProductSearchNotEnabledError without checking for non-null required valuesError-specific additional fields.of()factory method for an instance of GraphQLAgentProductSearchNotEnabledErrorBuilderof(GraphQLAgentProductSearchNotEnabledError template) create builder for GraphQLAgentProductSearchNotEnabledError instanceError-specific additional fields.
-
Constructor Details
-
GraphQLAgentProductSearchNotEnabledErrorBuilder
public GraphQLAgentProductSearchNotEnabledErrorBuilder()
-
-
Method Details
-
values
Error-specific additional fields.
- Parameters:
values- properties to be set- Returns:
- Builder
-
addValue
Error-specific additional fields.
- Parameters:
key- property namevalue- property value- Returns:
- Builder
-
getValues
Error-specific additional fields.
- Returns:
- pattern properties
-
build
builds GraphQLAgentProductSearchNotEnabledError with checking for non-null required values- Specified by:
buildin interfaceBuilder<GraphQLAgentProductSearchNotEnabledError>- Returns:
- GraphQLAgentProductSearchNotEnabledError
-
buildUnchecked
builds GraphQLAgentProductSearchNotEnabledError without checking for non-null required values- Returns:
- GraphQLAgentProductSearchNotEnabledError
-
of
factory method for an instance of GraphQLAgentProductSearchNotEnabledErrorBuilder- Returns:
- builder
-
of
public static GraphQLAgentProductSearchNotEnabledErrorBuilder of(GraphQLAgentProductSearchNotEnabledError template) create builder for GraphQLAgentProductSearchNotEnabledError instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-