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

com.commercetools.graphql.api.client.DeleteStoreProjectionRoot 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;
import java.lang.String;
import java.util.ArrayList;
import java.util.List;

public class DeleteStoreProjectionRoot, ROOT extends BaseSubProjectionNode> extends BaseSubProjectionNode {
  public DeleteStoreProjectionRoot() {
    super(null, null, java.util.Optional.of("Store"));
  }

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

  public StringProjection, DeleteStoreProjectionRoot> name(
      String locale, List acceptLanguage) {
    StringProjection, DeleteStoreProjectionRoot> projection = new StringProjection<>(this, this);    
    getFields().put("name", projection);
    getInputArguments().computeIfAbsent("name", k -> new ArrayList<>());                      
    InputArgument localeArg = new InputArgument("locale", locale);
    getInputArguments().get("name").add(localeArg);
    InputArgument acceptLanguageArg = new InputArgument("acceptLanguage", acceptLanguage);
    getInputArguments().get("name").add(acceptLanguageArg);
    return projection;
  }

  public LocalizedStringProjection, DeleteStoreProjectionRoot> nameAllLocales(
      ) {
    LocalizedStringProjection, DeleteStoreProjectionRoot> projection = new LocalizedStringProjection<>(this, this);    
    getFields().put("nameAllLocales", projection);
    return projection;
  }

  public StoreCountryProjection, DeleteStoreProjectionRoot> countries(
      ) {
    StoreCountryProjection, DeleteStoreProjectionRoot> projection = new StoreCountryProjection<>(this, this);    
    getFields().put("countries", projection);
    return projection;
  }

  public ProductSelectionSettingProjection, DeleteStoreProjectionRoot> productSelections(
      ) {
    ProductSelectionSettingProjection, DeleteStoreProjectionRoot> projection = new ProductSelectionSettingProjection<>(this, this);    
    getFields().put("productSelections", projection);
    return projection;
  }

  public ReferenceProjection, DeleteStoreProjectionRoot> distributionChannelsRef(
      ) {
    ReferenceProjection, DeleteStoreProjectionRoot> projection = new ReferenceProjection<>(this, this);    
    getFields().put("distributionChannelsRef", projection);
    return projection;
  }

  public ChannelProjection, DeleteStoreProjectionRoot> distributionChannels(
      ) {
    ChannelProjection, DeleteStoreProjectionRoot> projection = new ChannelProjection<>(this, this);    
    getFields().put("distributionChannels", projection);
    return projection;
  }

  public ReferenceProjection, DeleteStoreProjectionRoot> supplyChannelsRef(
      ) {
    ReferenceProjection, DeleteStoreProjectionRoot> projection = new ReferenceProjection<>(this, this);    
    getFields().put("supplyChannelsRef", projection);
    return projection;
  }

  public ChannelProjection, DeleteStoreProjectionRoot> supplyChannels(
      ) {
    ChannelProjection, DeleteStoreProjectionRoot> projection = new ChannelProjection<>(this, this);    
    getFields().put("supplyChannels", projection);
    return projection;
  }

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

  public InitiatorProjection, DeleteStoreProjectionRoot> createdBy(
      ) {
    InitiatorProjection, DeleteStoreProjectionRoot> projection = new InitiatorProjection<>(this, this);    
    getFields().put("createdBy", projection);
    return projection;
  }

  public InitiatorProjection, DeleteStoreProjectionRoot> lastModifiedBy(
      ) {
    InitiatorProjection, DeleteStoreProjectionRoot> projection = new InitiatorProjection<>(this, this);    
    getFields().put("lastModifiedBy", projection);
    return projection;
  }

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

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

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

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

  public DeleteStoreProjectionRoot languages() {
    getFields().put("languages", null);
    return this;
  }

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy