com.commercetools.graphql.api.client.VariantTailoringProjection 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 VariantTailoringProjection, ROOT extends BaseSubProjectionNode, ?>> extends BaseSubProjectionNode {
public VariantTailoringProjection(PARENT parent, ROOT root) {
super(parent, root, java.util.Optional.of("VariantTailoring"));
}
public VariantTailoringProjection __typename() {
getFields().put("__typename", null);
return this;
}
public ImageProjection, ROOT> images() {
ImageProjection, ROOT> projection = new ImageProjection<>(this, getRoot());
getFields().put("images", projection);
return projection;
}
public AssetProjection, ROOT> assets() {
AssetProjection, ROOT> projection = new AssetProjection<>(this, getRoot());
getFields().put("assets", projection);
return projection;
}
}