package com.perforce.spark.search;
public class SearchResults {
private SearchStatus status;
private ResultPayload payload;
public SearchStatus getStatus() {
return status;
}
public ResultPayload getPayload() {
return payload;
}
public void setStatus(SearchStatus status) {
this.status = status;
}
public void setPayload(ResultPayload payload) {
this.payload = payload;
}
public String toString() {
StringBuffer sb = new StringBuffer();
sb.append(status + "\n");
sb.append(payload + "\n");
return sb.toString();
}
}