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

io.sphere.sdk.channels.commands.ChannelDeleteCommand Maven / Gradle / Ivy

There is a newer version: 2.16.0
Show 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.channels.Channel.
To render this class the handlebars template 'commands/deleteCommandInterface.hbs' has been used.
*/
package io.sphere.sdk.channels.commands;

import io.sphere.sdk.commands.DeleteCommand;
import io.sphere.sdk.expansion.MetaModelReferenceExpansionDsl;
import io.sphere.sdk.models.Versioned;
import io.sphere.sdk.channels.Channel;
import io.sphere.sdk.channels.expansion.ChannelExpansionModel;

import static io.sphere.sdk.client.SphereRequestUtils.urlEncode;

/**
Deletes a channel.

    
        {@include.example io.sphere.sdk.channels.commands.ChannelDeleteCommandIntegrationTest#execution() }
    

@see Channel
 */
public interface ChannelDeleteCommand extends MetaModelReferenceExpansionDsl>, DeleteCommand {

    /**
        Creates a command object to delete a {@link Channel} by ID.
        @param versioned the object to delete (so directly a {@link Channel}) or just the version/ID information of it
        @return delete command
     */
    static ChannelDeleteCommand of(final Versioned versioned) {
        return new ChannelDeleteCommandImpl(versioned,false);
    }

    


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy