All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.commercetools.graphql.api.client.CustomerQueryResultProjection Maven / Gradle / Ivy

There is a newer version: 17.15.1
Show newest version
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;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy