com.commercetools.graphql.api.client.CustomerQueryResultProjection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commercetools-graphql-api Show documentation
Show all versions of commercetools-graphql-api Show documentation
The e-commerce SDK from commercetools Composable Commerce for Java
package com.commercetools.graphql.api.client;
import com.netflix.graphql.dgs.client.codegen.BaseSubProjectionNode;
public class CustomerQueryResultProjection, ROOT extends BaseSubProjectionNode, ?>> extends BaseSubProjectionNode {
public CustomerQueryResultProjection(PARENT parent, ROOT root) {
super(parent, root, java.util.Optional.of("CustomerQueryResult"));
}
public CustomerQueryResultProjection __typename() {
getFields().put("__typename", null);
return this;
}
public CustomerProjection, ROOT> results() {
CustomerProjection, ROOT> projection = new CustomerProjection<>(this, getRoot());
getFields().put("results", projection);
return projection;
}
public CustomerQueryResultProjection offset() {
getFields().put("offset", null);
return this;
}
public CustomerQueryResultProjection count() {
getFields().put("count", null);
return this;
}
public CustomerQueryResultProjection total() {
getFields().put("total", null);
return this;
}
public CustomerQueryResultProjection exists() {
getFields().put("exists", null);
return this;
}
}