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

package dev.plexapi.sdk.models.operations;

import dev.plexapi.sdk.utils.Utils;

public class GetResizedPhotoRequestBuilder {

    private GetResizedPhotoRequest request;
    private final SDKMethodInterfaces.MethodCallGetResizedPhoto sdk;

    public GetResizedPhotoRequestBuilder(SDKMethodInterfaces.MethodCallGetResizedPhoto sdk) {
        this.sdk = sdk;
    }

    public GetResizedPhotoRequestBuilder request(GetResizedPhotoRequest request) {
        Utils.checkNotNull(request, "request");
        this.request = request;
        return this;
    }

    public GetResizedPhotoResponse call() throws Exception {

        return sdk.getResizedPhoto(
            request);
    }
}
