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

com.commercetools.graphql.api.client.DiscountCodesProjectionRoot 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 DiscountCodesProjectionRoot, ROOT extends BaseSubProjectionNode> extends BaseSubProjectionNode {
  public DiscountCodesProjectionRoot() {
    super(null, null, java.util.Optional.of("DiscountCodeQueryResult"));
  }

  public DiscountCodesProjectionRoot __typename() {
    getFields().put("__typename", null);
    return this;
  }

  public DiscountCodeProjection, DiscountCodesProjectionRoot> results(
      ) {
    DiscountCodeProjection, DiscountCodesProjectionRoot> projection = new DiscountCodeProjection<>(this, this);    
    getFields().put("results", projection);
    return projection;
  }

  public DiscountCodesProjectionRoot offset() {
    getFields().put("offset", null);
    return this;
  }

  public DiscountCodesProjectionRoot count() {
    getFields().put("count", null);
    return this;
  }

  public DiscountCodesProjectionRoot total() {
    getFields().put("total", null);
    return this;
  }

  public DiscountCodesProjectionRoot exists() {
    getFields().put("exists", null);
    return this;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy