@Test(expected = IllegalArgumentException.class) public void testNullLanguageModel() { SubModel.builder().withLanguageModel(null).build(); }
public static Builder builder() { return new Builder(); }
SubModel { public static Builder builder() { return new Builder(); } }
SubModel { public static Builder builder() { return new Builder(); } SubModel(SubLanguageModel languageModel, Dialog dialog, List<Prompt> prompts); }
SubModel { public static Builder builder() { return new Builder(); } SubModel(SubLanguageModel languageModel, Dialog dialog, List<Prompt> prompts); @JsonProperty("languageModel") SubLanguageModel getLanguageModel(); @JsonProperty("dialog") Dialog getDialog(); @JsonProperty("prompts") List<Prompt> getPrompts(); @Override boolean equals(Object o); @Override int hashCode(); static Builder builder(); }
SubModel { public static Builder builder() { return new Builder(); } SubModel(SubLanguageModel languageModel, Dialog dialog, List<Prompt> prompts); @JsonProperty("languageModel") SubLanguageModel getLanguageModel(); @JsonProperty("dialog") Dialog getDialog(); @JsonProperty("prompts") List<Prompt> getPrompts(); @Override boolean equals(Object o); @Override int hashCode(); static Builder builder();  }