/* 
 * 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 ClearPlaylistContentsRequestBuilder {

    private Double playlistID;
    private final SDKMethodInterfaces.MethodCallClearPlaylistContents sdk;

    public ClearPlaylistContentsRequestBuilder(SDKMethodInterfaces.MethodCallClearPlaylistContents sdk) {
        this.sdk = sdk;
    }

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

    public ClearPlaylistContentsResponse call() throws Exception {

        return sdk.clearPlaylistContents(
            playlistID);
    }
}
