package com.proxerme.library.connection;

import com.squareup.moshi.Json;

/**
 * A container for the result. This class is only used internally und should not be used by the user
 * of this lib.
 *
 * @author Ruben Gees
 */
public abstract class ProxerResult<T> {

    @Json(name = "error")
    private int error;
    @Json(name = "message")
    private String message;
    @Json(name = "code")
    private int code;

    boolean isSuccess() {
        return error == 0;
    }

    String getMessage() {
        return message;
    }

    int getCode() {
        return code;
    }

    public abstract T getData();

}

@@ -416,16 +416,23 @@
 e;%0A%0A    
+public 
 boolean 
@@ -441,24 +441,24 @@
 Success() %7B%0A
-
         retu
@@ -483,16 +483,23 @@
  %7D%0A%0A    
+public 
 String g
@@ -543,20 +543,27 @@
 %0A    %7D%0A%0A
-
     
+public 
 int getC

Make all methods of ProxerResult public