package com.hubspot.singularity.config;

import com.google.common.base.Optional;

public class HistoryPurgeRequestSettings {
  private Optional<Integer> deleteTaskHistoryAfterDays = Optional.absent();
  private Optional<Integer> deleteTaskHistoryAfterTasksPerRequest = Optional.absent();
  private Optional<Integer> deleteTaskHistoryBytesAfterDays = Optional.absent();
  private Optional<Integer> deleteTaskHistoryBytesAfterTasksPerRequest = Optional.absent();

  public Optional<Integer> getDeleteTaskHistoryAfterDays() {
    return deleteTaskHistoryAfterDays;
  }

  public HistoryPurgeRequestSettings setDeleteTaskHistoryAfterDays(Optional<Integer> deleteTaskHistoryAfterDays) {
    this.deleteTaskHistoryAfterDays = deleteTaskHistoryAfterDays;
    return this;
  }

  public Optional<Integer> getDeleteTaskHistoryAfterTasksPerRequest() {
    return deleteTaskHistoryAfterTasksPerRequest;
  }

  public void setDeleteTaskHistoryAfterTasksPerRequest(Optional<Integer> deleteTaskHistoryAfterTasksPerRequest) {
    this.deleteTaskHistoryAfterTasksPerRequest = deleteTaskHistoryAfterTasksPerRequest;
  }

  public Optional<Integer> getDeleteTaskHistoryBytesAfterDays() {
    return deleteTaskHistoryBytesAfterDays;
  }

  public void setDeleteTaskHistoryBytesAfterDays(Optional<Integer> deleteTaskHistoryBytesAfterDays) {
    this.deleteTaskHistoryBytesAfterDays = deleteTaskHistoryBytesAfterDays;
  }

  public Optional<Integer> getDeleteTaskHistoryBytesAfterTasksPerRequest() {
    return deleteTaskHistoryBytesAfterTasksPerRequest;
  }

  public void setDeleteTaskHistoryBytesAfterTasksPerRequest(Optional<Integer> deleteTaskHistoryBytesAfterTasksPerRequest) {
    this.deleteTaskHistoryBytesAfterTasksPerRequest = deleteTaskHistoryBytesAfterTasksPerRequest;
  }
}

@@ -1757,11 +1757,450 @@
 est;%0A  %7D
+%0A%0A  @Override%0A  public String toString() %7B%0A    return %22HistoryPurgeRequestSettings%7B%22 +%0A      %22deleteTaskHistoryAfterDays=%22 + deleteTaskHistoryAfterDays +%0A      %22, deleteTaskHistoryAfterTasksPerRequest=%22 + deleteTaskHistoryAfterTasksPerRequest +%0A      %22, deleteTaskHistoryBytesAfterDays=%22 + deleteTaskHistoryBytesAfterDays +%0A      %22, deleteTaskHistoryBytesAfterTasksPerRequest=%22 + deleteTaskHistoryBytesAfterTasksPerRequest +%0A      '%7D';%0A  %7D
 %0A%7D%0A

add toString