com.what3words.javawrapper.response.Response Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of w3w-java-wrapper Show documentation
Show all versions of w3w-java-wrapper Show documentation
Java library for what3words REST API.
package com.what3words.javawrapper.response;
import com.what3words.javawrapper.response.APIResponse.What3WordsError;
public class Response {
private transient APIResponse response;
public void setResponse(APIResponse response) {
this.response = response;
}
public What3WordsError getError() {
return response.getError();
}
public boolean isSuccessful() {
return response.isSuccessful();
}
}