Package com.commercetools.graphql.api
Interface GraphQLRequest<T>
- All Superinterfaces:
com.commercetools.api.models.graph_ql.GraphQLRequest,com.commercetools.api.client.ProjectRequestBuilder<ByProjectKeyGraphqlQuery<T>>
- All Known Implementing Classes:
GraphQLRequestImpl
public interface GraphQLRequest<T>
extends com.commercetools.api.models.graph_ql.GraphQLRequest, com.commercetools.api.client.ProjectRequestBuilder<ByProjectKeyGraphqlQuery<T>>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ByProjectKeyGraphqlQuery<T>static <T> GraphQLRequestBuilder<T>builder()builder factory method for GraphQLRequestvoidsetDataMapper(Function<GraphQLData, T> dataMapper) Methods inherited from interface com.commercetools.api.models.graph_ql.GraphQLRequest
getOperationName, getQuery, getVariables, setOperationName, setQuery, setVariables, withGraphQLRequest
-
Method Details
-
getDataMapper
Function<GraphQLData,T> getDataMapper() -
setDataMapper
-
build
default ByProjectKeyGraphqlQuery<T> build(io.vrap.rmf.base.client.ApiHttpClient client, String projectKey) - Specified by:
buildin interfacecom.commercetools.api.client.ProjectRequestBuilder<T>
-
builder
builder factory method for GraphQLRequest- Returns:
- builder
-