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