com.commercetools.graphql.api.client.RuleRequesterProjection 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 RuleRequesterProjection, ROOT extends BaseSubProjectionNode, ?>> extends BaseSubProjectionNode {
public RuleRequesterProjection(PARENT parent, ROOT root) {
super(parent, root, java.util.Optional.of("RuleRequester"));
}
public RuleRequesterProjection __typename() {
getFields().put("__typename", null);
return this;
}
public AssociateRoleProjection, ROOT> associateRole() {
AssociateRoleProjection, ROOT> projection = new AssociateRoleProjection<>(this, getRoot());
getFields().put("associateRole", projection);
return projection;
}
public KeyReferenceProjection, ROOT> associateRoleRef() {
KeyReferenceProjection, ROOT> projection = new KeyReferenceProjection<>(this, getRoot());
getFields().put("associateRoleRef", projection);
return projection;
}
}