/* 
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */

package dev.plexapi.sdk.models.operations;

import dev.plexapi.sdk.utils.Utils;
import java.lang.Double;

public class DeletePlaylistRequestBuilder {

    private Double playlistID;
    private final SDKMethodInterfaces.MethodCallDeletePlaylist sdk;

    public DeletePlaylistRequestBuilder(SDKMethodInterfaces.MethodCallDeletePlaylist sdk) {
        this.sdk = sdk;
    }

    public DeletePlaylistRequestBuilder playlistID(double playlistID) {
        Utils.checkNotNull(playlistID, "playlistID");
        this.playlistID = playlistID;
        return this;
    }

    public DeletePlaylistResponse call() throws Exception {

        return sdk.deletePlaylist(
            playlistID);
    }
}
