io.sphere.sdk.zones.commands.ZoneDeleteCommand Maven / Gradle / Ivy
/*
This class has been generated by class io.sphere.sdk.annotations.processors.DeleteCommandEndpointAnnotationProcessor
induced by the annotation io.sphere.sdk.annotations.HasDeleteCommand.
in the source class io.sphere.sdk.zones.Zone.
To render this class the handlebars template 'commands/deleteCommandInterface.hbs' has been used.
*/
package io.sphere.sdk.zones.commands;
import io.sphere.sdk.commands.DeleteCommand;
import io.sphere.sdk.expansion.MetaModelReferenceExpansionDsl;
import io.sphere.sdk.models.Versioned;
import io.sphere.sdk.zones.Zone;
import io.sphere.sdk.zones.expansion.ZoneExpansionModel;
/**
Command object to delete a {@link Zone}.
@see Zone
*/
public interface ZoneDeleteCommand extends MetaModelReferenceExpansionDsl>, DeleteCommand {
/**
Creates a command object to delete a {@link Zone} by ID.
@param versioned the object to delete (so directly a {@link Zone}) or just the version/ID information of it
@return delete command
*/
static ZoneDeleteCommand of(final Versioned versioned) {
return new ZoneDeleteCommandImpl(versioned);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy