All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sigopt.model.ReportMultidata Maven / Gradle / Ivy

There is a newer version: 6.3.0
Show newest version
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);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy