Package com.commercetools.graphql.api
Interface GraphQLRequest<T>
- All Superinterfaces:
GraphQLRequest,ProjectRequestBuilder<ByProjectKeyGraphqlQuery<T>>
public interface GraphQLRequest<T>
extends GraphQLRequest, ProjectRequestBuilder<ByProjectKeyGraphqlQuery<T>>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ByProjectKeyGraphqlQuery<T>build(ApiHttpClient client, String projectKey) static <T> GraphQLRequestBuilder<T>builder()builder factory method for GraphQLRequeststatic <T> GraphQLRequest<T>deepCopy(GraphQLRequest<T> template) factory method to create a deep copy of GraphQLRequestvoidsetDataMapper(Function<GraphQLData, T> dataMapper) Methods inherited from interface com.commercetools.api.models.graph_ql.GraphQLRequest
copyDeep, getOperationName, getQuery, getVariables, setOperationName, setQuery, setVariables, withGraphQLRequest
-
Method Details
-
getDataMapper
Function<GraphQLData,T> getDataMapper() -
setDataMapper
-
build
- Specified by:
buildin interfaceProjectRequestBuilder<T>
-
builder
builder factory method for GraphQLRequest- Returns:
- builder
-
deepCopy
factory method to create a deep copy of GraphQLRequest- Parameters:
template- instance to be copied- Returns:
- copy instance
-