All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.commercetools.graphql.api.client.AssociateRoleProjection Maven / Gradle / Ivy

There is a newer version: 17.15.1
Show newest version
package com.commercetools.graphql.api.client;

import com.netflix.graphql.dgs.client.codegen.BaseSubProjectionNode;

public class AssociateRoleProjection, ROOT extends BaseSubProjectionNode> extends BaseSubProjectionNode {
  public AssociateRoleProjection(PARENT parent, ROOT root) {
    super(parent, root, java.util.Optional.of("AssociateRole"));
  }

  public AssociateRoleProjection __typename() {
    getFields().put("__typename", null);
    return this;
  }

  public PermissionProjection, ROOT> permissions() {
     PermissionProjection, ROOT> projection = new PermissionProjection<>(this, getRoot());
     getFields().put("permissions", 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 AssociateRoleProjection key() {
    getFields().put("key", null);
    return this;
  }

  public AssociateRoleProjection buyerAssignable() {
    getFields().put("buyerAssignable", null);
    return this;
  }

  public AssociateRoleProjection name() {
    getFields().put("name", null);
    return this;
  }

  public AssociateRoleProjection id() {
    getFields().put("id", null);
    return this;
  }

  public AssociateRoleProjection version() {
    getFields().put("version", null);
    return this;
  }

  public AssociateRoleProjection createdAt() {
    getFields().put("createdAt", null);
    return this;
  }

  public AssociateRoleProjection lastModifiedAt() {
    getFields().put("lastModifiedAt", null);
    return this;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy