package com.jerey.keepgank.bean; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class Data implements Serializable{ @SerializedName("error") @Expose private boolean error; @SerializedName("results") @Expose private List<Result> results = new ArrayList<Result>(); /** * * @return * The error */ public boolean isError() { return error; } /** * * @param error * The error */ public void setError(boolean error) { this.error = error; } /** * * @return * The results */ public List<Result> getResults() { return results; } /** * * @param results * The results */ public void setResults(List<Result> results) { this.results = results; } @Override public String toString() { return results.toString(); } }