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

package dev.plexapi.sdk.models.operations;

import dev.plexapi.sdk.utils.Utils;

public class GetMediaMetaDataRequestBuilder {

    private GetMediaMetaDataRequest request;
    private final SDKMethodInterfaces.MethodCallGetMediaMetaData sdk;

    public GetMediaMetaDataRequestBuilder(SDKMethodInterfaces.MethodCallGetMediaMetaData sdk) {
        this.sdk = sdk;
    }

    public GetMediaMetaDataRequestBuilder request(GetMediaMetaDataRequest request) {
        Utils.checkNotNull(request, "request");
        this.request = request;
        return this;
    }

    public GetMediaMetaDataResponse call() throws Exception {

        return sdk.getMediaMetaData(
            request);
    }
}
