io.sphere.sdk.channels.commands.ChannelDeleteCommand Maven / Gradle / Ivy
package io.sphere.sdk.channels.commands;
import io.sphere.sdk.channels.Channel;
import io.sphere.sdk.commands.ByIdDeleteCommandImpl;
import io.sphere.sdk.commands.DeleteCommand;
import io.sphere.sdk.models.Versioned;
/** Deletes a channel.
Example:
{@include.example io.sphere.sdk.channels.ChannelIntegrationTest#deleteChannelById()}
*/
public class ChannelDeleteCommand extends ByIdDeleteCommandImpl {
private ChannelDeleteCommand(final Versioned versioned) {
super(versioned, ChannelsEndpoint.ENDPOINT);
}
public static DeleteCommand of(final Versioned versioned) {
return new ChannelDeleteCommand(versioned);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy