package com.sigopt.model;

import com.sigopt.net.APIObject;

public class Bounds extends APIObject {
    Double min;
    Double max;

    public Bounds(Double min, Double max) {
        this.min = min;
        this.max = max;
    }

    public Double getMin() {
        return min;
    }

    public Double getMax() {
        return max;
    }

    public static class Builder {
        Double min;
        Double max;

        public Builder() {
        }

        public Bounds build() {
            return new Bounds(this.min, this.max);
        }

        public Builder min(Double min) {
            this.min = min;
            return this;
        }

        public Builder max(Double max) {
            this.max = max;
            return this;
        }
    }
}

@@ -678,47 +678,277 @@
 er m
-ax(Double max) %7B%0A            this.max =
+in(Integer min) %7B%0A            this.min = (double) min;%0A            return this;%0A        %7D%0A%0A        public Builder max(Double max) %7B%0A            this.max = max;%0A            return this;%0A        %7D%0A%0A        public Builder max(Integer max) %7B%0A            this.max = (double)
  max

Accept integers in Bounds