Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.hubspot.singularity;
 
 
 public class SingularityRequestHistory {
 
   private final long createdAt;
  private final Optional<Stringuser;
  private final RequestHistoryType state;
  private final SingularityRequest request;
  public enum RequestHistoryType {
    CREATED, UPDATED, DELETED, PAUSED, UNPAUSED;
  }
  public SingularityRequestHistory(@JsonProperty("createdAt"long createdAt, @JsonProperty("user"Optional<Stringuser, @JsonProperty("state"RequestHistoryType state, @JsonProperty("request"SingularityRequest request) {
    this. = createdAt;
    this. = user;
    this. = state;
    this. = request;
  }
  public long getCreatedAt() {
    return ;
  }
  public Optional<StringgetUser() {
    return ;
  }
  public RequestHistoryType getState() {
    return ;
  }
    return ;
  }
  public String toString() {
    return "SingularityRequestHistory [createdAt=" +  + ", user=" +  + ", state=" +  + ", request=" +  + "]";
  }
New to GrepCode? Check out our FAQ X