SearchApiResult.java 741 Bytes
package com.yoho.search.models;

import java.io.Serializable;

public class SearchApiResult extends AbstractApiResult implements Serializable {
	private static final long serialVersionUID = 654492513696448848L;
	private Object data;
	private boolean compress=false;

	public Object getData() {
		return data;
	}

	public SearchApiResult setData(Object data) {
		this.data = data;
		return this;
	}
	
	public boolean getCompress() {
		return compress;
	}

	public SearchApiResult setCompress(boolean compress) {
		this.compress = compress;
		return this;
	}

	public SearchApiResult setMessage(String message) {
		this.message = message;
		return this;
	}

	public SearchApiResult setCode(int code) {
		this.code = code;
		return this;
	}

}