com.commercetools.graphql.api.client.DeleteStoreProjectionRoot 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;
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;
}
}