io.sphere.sdk.extensions.commands.ExtensionDeleteCommandImpl Maven / Gradle / Ivy
The newest version!
/*
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.extensions.Extension.
To render this class the handlebars template 'commands/deleteCommandImplementation.hbs' has been used.
*/
package io.sphere.sdk.extensions.commands;
import io.sphere.sdk.commands.MetaModelByIdDeleteCommandBuilder;
import io.sphere.sdk.commands.MetaModelByIdDeleteCommandImpl;
import io.sphere.sdk.models.Versioned;
import io.sphere.sdk.extensions.Extension;
import io.sphere.sdk.extensions.expansion.ExtensionExpansionModel;
import io.sphere.sdk.client.JsonEndpoint;
final class ExtensionDeleteCommandImpl extends MetaModelByIdDeleteCommandImpl> implements ExtensionDeleteCommand {
ExtensionDeleteCommandImpl(final Versioned versioned,final boolean eraseData) {
super(versioned,eraseData, JsonEndpoint.of(Extension.typeReference(), "/extensions"), ExtensionExpansionModel.of(), ExtensionDeleteCommandImpl::new);
}
ExtensionDeleteCommandImpl(final MetaModelByIdDeleteCommandBuilder> builder) {
super(builder);
}
}