package com.github.dhavalmehta1997.savetogoogledrive.model;

public class UploadInformation {

    private String url;
    private String fileName;
    private long totalSize;
    private long uploadedSize;
    private Throwable error;
    private UploadStatus uploadStatus;
    private double speed;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public long getUploadedSize() {
        return uploadedSize;
    }

    public void setUploadedSize(long uploadedSize) {
        this.uploadedSize = uploadedSize;
    }

    public long getTotalSize() {
        return totalSize;
    }

    public void setTotalSize(long totalSize) {
        this.totalSize = totalSize;
    }

    public Throwable getError() {
        return error;
    }

    public void setError(Throwable error) {
        this.error = error;
    }

    public UploadStatus getUploadStatus() {
        return uploadStatus;
    }

    public void setUploadStatus(UploadStatus uploadStatus) {
        this.uploadStatus = uploadStatus;
    }

    public double getSpeed() {
        return speed;
    }

    public void setSpeed(double speed) {
        this.speed = speed;
    }
}
@@ -225,24 +225,57 @@
 able error;%0A
+    private String errorMessage;%0A
     private 
@@ -1403,9 +1403,188 @@
 ;%0A    %7D%0A
+%0A    public String getErrorMessage() %7B%0A        return errorMessage;%0A    %7D%0A%0A    public void setErrorMessage(String errorMessage) %7B%0A        this.errorMessage = errorMessage;%0A    %7D%0A%0A
 %7D

add error information