package com.wrapper.spotify.requests.data.follow;

        import com.wrapper.spotify.exceptions.SpotifyWebApiException;
        import com.wrapper.spotify.requests.data.AbstractDataRequest;

        import java.io.IOException;

/**
 * Remove the current user as a follower of a playlist.
 */
public class UnfollowPlaylistByIdRequest extends AbstractDataRequest {

    /**
     * The private {@link UnfollowPlaylistByIdRequest} constructor.
     *
     * @param builder A {@link UnfollowPlaylistByIdRequest.Builder}.
     */
    private UnfollowPlaylistByIdRequest(final Builder builder) {
        super(builder);
    }

    /**
     * Unfollow a playlist.
     *
     * @return A string. <b>Note:</b> This endpoint doesn't return something in its response body.
     * @throws IOException            In case of networking issues.
     * @throws SpotifyWebApiException The Web API returned an error further specified in this exception's root cause.
     */
    @SuppressWarnings("unchecked")
    public String execute() throws
            IOException,
            SpotifyWebApiException {
        return deleteJson();
    }

    /**
     * Builder class for building an {@link UnfollowPlaylistByIdRequest}.
     */
    public static final class Builder extends AbstractDataRequest.Builder<Builder> {

        /**
         * Create a new {@link UnfollowPlaylistByIdRequest.Builder} instance.
         * <p>
         * Unfollowing a publicly followed playlist for a user requires authorization of the {@code playlist-modify-public}
         * scope; unfollowing a privately followed playlist requires the {@code playlist-modify-private} scope.
         *
         * @param accessToken Required. A valid access token from the Spotify Accounts service.
         * @see <a href="https://developer.spotify.com/web-api/using-scopes/">Spotify: Using Scopes</a>
         */
        public Builder(final String accessToken) {
            super(accessToken);
        }

        /**
         * The playlist ID setter.
         *
         * @param playlist_id The Spotify ID of the playlist that is to be no longer followed.
         * @return An {@link UnfollowPlaylistByIdRequest.Builder}.
         * @see <a href="https://developer.spotify.com/web-api/user-guide/#spotify-uris-and-ids">Spotify: URIs &amp; IDs</a>
         */
        public Builder playlist_id(final String playlist_id) {
            assert (playlist_id != null);
            assert (!playlist_id.equals(""));
            return setPathParameter("playlist_id", playlist_id);
        }

        /**
         * The request build method.
         *
         * @return A custom {@link UnfollowPlaylistByIdRequest}.
         */
        @Override
        public UnfollowPlaylistByIdRequest build() {
            setPath("/v1/playlists/{playlist_id}/followers");
            return new UnfollowPlaylistByIdRequest(this);
        }
    }
}

@@ -44,24 +44,16 @@
 ollow;%0A%0A
-        
 import c
@@ -106,24 +106,16 @@
 eption;%0A
-        
 import c
@@ -169,24 +169,16 @@
 quest;%0A%0A
-        
 import j

clean up