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

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

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

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

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

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

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

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

  public ParcelProjection key() {
    getFields().put("key", null);
    return this;
  }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy