package com.github.jmchilton.blend4j.galaxy.beans;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;

@JsonIgnoreProperties(ignoreUnknown=true)
public class HistoryDetails extends History {
  private String state;

  public String getState() {
    return state;
  }

  public void setState(String state) {
    this.state = state;
  }
  
}

package com.github.jmchilton.blend4j.galaxy.beans;

import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.annotate.JsonProperty;

@JsonIgnoreProperties(ignoreUnknown=true)
public class HistoryDetails extends History {
  private String state;
  private Map<String, List<String>> stateIds = new HashMap<String, List<String>>();

  public String getState() {
    return state;
  }

  public void setState(String state) {
    this.state = state;
  }
  
  @JsonProperty("state_ids")
  public void setStateIds(final Map<String, List<String>> stateIds) {
    this.stateIds = stateIds;
  }
  
  public Map<String, List<String>> getStateIds() {
    return stateIds;
  }

  
}

Add property to get state map from histories, figure out which HDAs are in what state - ok, failed, etc....