package com.hubspot.singularity.config;

import javax.validation.constraints.NotNull;

public class MesosConfiguration {

  @NotNull
  private String master;
  @NotNull
  private String frameworkName;
  @NotNull
  private String frameworkId;
  @NotNull
  private Double frameworkFailoverTimeout;
  @NotNull
  private Integer defaultCpus;
  @NotNull
  private Integer defaultMemory;
  @NotNull
  private Boolean checkpoint = false;

  public String getMaster() {
    return master;
  }

  public String getFrameworkId() {
    return frameworkId;
  }

  public void setFrameworkId(String frameworkId) {
    this.frameworkId = frameworkId;
  }

  public String getFrameworkName() {
    return frameworkName;
  }

  public void setFrameworkName(String frameworkName) {
    this.frameworkName = frameworkName;
  }

  public Double getFrameworkFailoverTimeout() {
    return frameworkFailoverTimeout;
  }

  public void setFrameworkFailoverTimeout(Double frameworkFailoverTimeout) {
    this.frameworkFailoverTimeout = frameworkFailoverTimeout;
  }

  public void setMaster(String master) {
    this.master = master;
  }

  public Boolean getCheckpoint() {
    return checkpoint;
  }

  public void setCheckpoint(Boolean checkpoint) {
    this.checkpoint = checkpoint;
  }

  public Integer getDefaultCpus() {
    return defaultCpus;
  }

  public void setDefaultCpus(Integer defaultCpus) {
    this.defaultCpus = defaultCpus;
  }

  public Integer getDefaultMemory() {
    return defaultMemory;
  }

  public void setDefaultMemory(Integer defaultMemory) {
    this.defaultMemory = defaultMemory;
  }

  public Boolean getCheckpoint() {
    return checkpoint;
  }

  public void setCheckpoint(Boolean checkpoint) {
    this.checkpoint = checkpoint;
  }

}

@@ -1593,158 +1593,6 @@
  %7D%0A%0A
-  public Boolean getCheckpoint() %7B%0A    return checkpoint;%0A  %7D%0A%0A  public void setCheckpoint(Boolean checkpoint) %7B%0A    this.checkpoint = checkpoint;%0A  %7D%0A%0A
 %7D%0A

remove duplicate checkpoint getter/setter