class Analysis {

  public void deleteQuestion(String questionName) {
    if (!_questions.containsKey(questionName)) {
      throw new BatfishException(
          String.format("Question %s does not exist for analysis %s", questionName, _name));
    }
    _questions.remove(questionName);
  }

  @JsonCreator public  Analysis(
      @JsonProperty(PROP_NAME) String name,
      @JsonProperty(PROP_QUESTIONS) @Nullable Map<String, String> questions);

}