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

package dev.plexapi.sdk.models.operations;

import dev.plexapi.sdk.utils.Utils;

public class StartUniversalTranscodeRequestBuilder {

    private StartUniversalTranscodeRequest request;
    private final SDKMethodInterfaces.MethodCallStartUniversalTranscode sdk;

    public StartUniversalTranscodeRequestBuilder(SDKMethodInterfaces.MethodCallStartUniversalTranscode sdk) {
        this.sdk = sdk;
    }

    public StartUniversalTranscodeRequestBuilder request(StartUniversalTranscodeRequest request) {
        Utils.checkNotNull(request, "request");
        this.request = request;
        return this;
    }

    public StartUniversalTranscodeResponse call() throws Exception {

        return sdk.startUniversalTranscode(
            request);
    }
}
