com.commercetools.graphql.api.client.RangeCountLongFragmentProjection 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;
import java.lang.Override;
import java.lang.String;
public class RangeCountLongFragmentProjection, ROOT extends BaseSubProjectionNode, ?>> extends BaseSubProjectionNode {
{
getFields().put("__typename", null);
}
public RangeCountLongFragmentProjection(PARENT parent, ROOT root) {
super(parent, root, java.util.Optional.of("RangeCountLong"));
}
public RangeCountLongFragmentProjection __typename() {
getFields().put("__typename", null);
return this;
}
public RangeCountLongFragmentProjection from() {
getFields().put("from", null);
return this;
}
public RangeCountLongFragmentProjection fromStr() {
getFields().put("fromStr", null);
return this;
}
public RangeCountLongFragmentProjection to() {
getFields().put("to", null);
return this;
}
public RangeCountLongFragmentProjection toStr() {
getFields().put("toStr", null);
return this;
}
public RangeCountLongFragmentProjection count() {
getFields().put("count", null);
return this;
}
public RangeCountLongFragmentProjection productCount() {
getFields().put("productCount", null);
return this;
}
public RangeCountLongFragmentProjection totalCount() {
getFields().put("totalCount", null);
return this;
}
public RangeCountLongFragmentProjection total() {
getFields().put("total", null);
return this;
}
public RangeCountLongFragmentProjection min() {
getFields().put("min", null);
return this;
}
public RangeCountLongFragmentProjection max() {
getFields().put("max", null);
return this;
}
public RangeCountLongFragmentProjection mean() {
getFields().put("mean", null);
return this;
}
public RangeCountLongFragmentProjection type() {
getFields().put("type", null);
return this;
}
@Override
public String toString() {
StringBuilder builder = new StringBuilder();
builder.append("... on RangeCountLong {");
getFields().forEach((k, v) -> {
builder.append(" ").append(k);
if(v != null) {
builder.append(" ").append(v.toString());
}
});
builder.append("}");
return builder.toString();
}
}