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