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

com.commercetools.graphql.api.client.RawCustomFieldProjection 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 RawCustomFieldProjection, ROOT extends BaseSubProjectionNode> extends BaseSubProjectionNode {
  public RawCustomFieldProjection(PARENT parent, ROOT root) {
    super(parent, root, java.util.Optional.of("RawCustomField"));
  }

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

  public ReferenceExpandableProjection, ROOT> referencedResource(
      ) {
     ReferenceExpandableProjection, ROOT> projection = new ReferenceExpandableProjection<>(this, getRoot());
     getFields().put("referencedResource", projection);
     return projection;
  }

  public ReferenceExpandableProjection, ROOT> referencedResourceSet(
      ) {
     ReferenceExpandableProjection, ROOT> projection = new ReferenceExpandableProjection<>(this, getRoot());
     getFields().put("referencedResourceSet", projection);
     return projection;
  }

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

  public RawCustomFieldProjection value() {
    getFields().put("value", null);
    return this;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy