/* 
 * 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.String;

public class CancelServerActivitiesRequestBuilder {

    private String activityUUID;
    private final SDKMethodInterfaces.MethodCallCancelServerActivities sdk;

    public CancelServerActivitiesRequestBuilder(SDKMethodInterfaces.MethodCallCancelServerActivities sdk) {
        this.sdk = sdk;
    }

    public CancelServerActivitiesRequestBuilder activityUUID(String activityUUID) {
        Utils.checkNotNull(activityUUID, "activityUUID");
        this.activityUUID = activityUUID;
        return this;
    }

    public CancelServerActivitiesResponse call() throws Exception {

        return sdk.cancelServerActivities(
            activityUUID);
    }
}
