com.sigopt.model.ReportMultidata Maven / Gradle / Ivy
package com.sigopt.model;
import com.sigopt.net.APIObject;
import java.util.ArrayList;
import java.util.List;
public class ReportMultidata extends APIObject {
List data = new ArrayList();
public ReportMultidata() {
}
public ReportMultidata(List data) {
this.data = data;
}
public List getData() {
return data;
}
public static class Builder {
List data = new ArrayList();
public Builder() {
}
public ReportMultidata build() {
return new ReportMultidata(data);
}
public Builder data(List data) {
this.data = data;
return this;
}
public Builder addData(Observation obs) {
this.data.add(obs);
return this;
}
public Builder addObservation(Observation obs) {
return addData(obs);
}
}
}