com.commercetools.graphql.api.client.ApprovalFlowProjection 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 ApprovalFlowProjection, ROOT extends BaseSubProjectionNode, ?>> extends BaseSubProjectionNode {
public ApprovalFlowProjection(PARENT parent, ROOT root) {
super(parent, root, java.util.Optional.of("ApprovalFlow"));
}
public ApprovalFlowProjection __typename() {
getFields().put("__typename", null);
return this;
}
public ApprovalFlowApprovalProjection, ROOT> approvals() {
ApprovalFlowApprovalProjection, ROOT> projection = new ApprovalFlowApprovalProjection<>(this, getRoot());
getFields().put("approvals", projection);
return projection;
}
public ApprovalFlowRejectionProjection, ROOT> rejection() {
ApprovalFlowRejectionProjection, ROOT> projection = new ApprovalFlowRejectionProjection<>(this, getRoot());
getFields().put("rejection", projection);
return projection;
}
public ReferenceProjection, ROOT> orderRef() {
ReferenceProjection, ROOT> projection = new ReferenceProjection<>(this, getRoot());
getFields().put("orderRef", projection);
return projection;
}
public OrderProjection, ROOT> order() {
OrderProjection, ROOT> projection = new OrderProjection<>(this, getRoot());
getFields().put("order", projection);
return projection;
}
public ApprovalRuleProjection, ROOT> rules() {
ApprovalRuleProjection, ROOT> projection = new ApprovalRuleProjection<>(this, getRoot());
getFields().put("rules", projection);
return projection;
}
public KeyReferenceProjection, ROOT> businessUnitRef() {
KeyReferenceProjection, ROOT> projection = new KeyReferenceProjection<>(this, getRoot());
getFields().put("businessUnitRef", projection);
return projection;
}
public BusinessUnitProjection, ROOT> businessUnit() {
BusinessUnitProjection, ROOT> projection = new BusinessUnitProjection<>(this, getRoot());
getFields().put("businessUnit", projection);
return projection;
}
public RuleApproverProjection, ROOT> eligibleApprovers() {
RuleApproverProjection, ROOT> projection = new RuleApproverProjection<>(this, getRoot());
getFields().put("eligibleApprovers", projection);
return projection;
}
public RuleApproverProjection, ROOT> pendingApprovers() {
RuleApproverProjection, ROOT> projection = new RuleApproverProjection<>(this, getRoot());
getFields().put("pendingApprovers", projection);
return projection;
}
public RuleApproverProjection, ROOT> currentTierPendingApprovers(
) {
RuleApproverProjection, ROOT> projection = new RuleApproverProjection<>(this, getRoot());
getFields().put("currentTierPendingApprovers", projection);
return projection;
}
public CustomFieldsTypeProjection, ROOT> custom() {
CustomFieldsTypeProjection, ROOT> projection = new CustomFieldsTypeProjection<>(this, getRoot());
getFields().put("custom", projection);
return projection;
}
public InitiatorProjection, ROOT> createdBy() {
InitiatorProjection, ROOT> projection = new InitiatorProjection<>(this, getRoot());
getFields().put("createdBy", projection);
return projection;
}
public InitiatorProjection, ROOT> lastModifiedBy() {
InitiatorProjection, ROOT> projection = new InitiatorProjection<>(this, getRoot());
getFields().put("lastModifiedBy", projection);
return projection;
}
public ApprovalFlowProjection status() {
getFields().put("status", null);
return this;
}
public ApprovalFlowProjection id() {
getFields().put("id", null);
return this;
}
public ApprovalFlowProjection version() {
getFields().put("version", null);
return this;
}
public ApprovalFlowProjection createdAt() {
getFields().put("createdAt", null);
return this;
}
public ApprovalFlowProjection lastModifiedAt() {
getFields().put("lastModifiedAt", null);
return this;
}
}