Class GraphQLRequestImpl<T>

java.lang.Object
com.commercetools.graphql.api.GraphQLRequestImpl<T>
All Implemented Interfaces:
com.commercetools.api.client.ProjectRequestBuilder<ByProjectKeyGraphqlQuery<T>>, com.commercetools.api.models.graph_ql.GraphQLRequest, GraphQLRequest<T>, io.vrap.rmf.base.client.ModelBase

public class GraphQLRequestImpl<T> extends Object implements GraphQLRequest<T>, io.vrap.rmf.base.client.ModelBase
GraphQLRequest
  • Constructor Details

    • GraphQLRequestImpl

      public GraphQLRequestImpl()
      create empty instance
  • Method Details

    • getQuery

      public String getQuery()
      Specified by:
      getQuery in interface com.commercetools.api.models.graph_ql.GraphQLRequest
    • getOperationName

      public String getOperationName()
      Specified by:
      getOperationName in interface com.commercetools.api.models.graph_ql.GraphQLRequest
    • getVariables

      public com.commercetools.api.models.graph_ql.GraphQLVariablesMap getVariables()
      Specified by:
      getVariables in interface com.commercetools.api.models.graph_ql.GraphQLRequest
    • setQuery

      public void setQuery(String query)
      Specified by:
      setQuery in interface com.commercetools.api.models.graph_ql.GraphQLRequest
    • setOperationName

      public void setOperationName(String operationName)
      Specified by:
      setOperationName in interface com.commercetools.api.models.graph_ql.GraphQLRequest
    • setVariables

      public void setVariables(com.commercetools.api.models.graph_ql.GraphQLVariablesMap variables)
      Specified by:
      setVariables in interface com.commercetools.api.models.graph_ql.GraphQLRequest
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getDataMapper

      public Function<GraphQLData,T> getDataMapper()
      Specified by:
      getDataMapper in interface GraphQLRequest<T>
    • setDataMapper

      public void setDataMapper(Function<GraphQLData,T> dataMapper)
      Specified by:
      setDataMapper in interface GraphQLRequest<T>