package model;

import model.transform.base.ImageTransform;

/**
 * Wrapper for communicating with the Filestack REST API.
 * Instantiate with an API Key from the Developer Portal.
 */
public class Client {
    private String apiKey;
    private Security security;

    public Client(String apiKey) {
        this.apiKey = apiKey;
    }

    public Client(String apiKey, Security security) {
        this.apiKey = apiKey;
        this.security = security;
    }

    public ImageTransform imageTransform(String url) {
        return new ImageTransform(this, url);
    }

    public String getApiKey() {
        return apiKey;
    }

    public Security getSecurity() {
        return security;
    }
}

@@ -52,16 +52,92 @@
 ansform;
+%0Aimport util.Upload;%0Aimport util.UploadOptions;%0A%0Aimport java.io.IOException;
 %0A%0A/**%0A *
@@ -632,32 +632,414 @@
 s, url);%0A    %7D%0A%0A
+    public FileLink upload(String filepath) throws IOException %7B%0A        UploadOptions defaultOptions = new UploadOptions.Builder().build();%0A        return upload(filepath, defaultOptions);%0A    %7D%0A%0A    public FileLink upload(String filepath, UploadOptions options) throws IOException %7B%0A        Upload upload = new Upload(this, filepath, options);%0A        return upload.run();%0A    %7D%0A%0A
     public Strin

Add upload method to Client