public class DocStructure
extends com.ibm.cloud.sdk.core.service.model.GenericModel
| Modifier and Type | Field and Description | 
|---|---|
protected java.util.List<LeadingSentence> | 
leadingSentences  | 
protected java.util.List<Paragraphs> | 
paragraphs  | 
protected java.util.List<SectionTitles> | 
sectionTitles  | 
| Constructor and Description | 
|---|
DocStructure()  | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.List<LeadingSentence> | 
getLeadingSentences()
Gets the leadingSentences. 
 | 
java.util.List<Paragraphs> | 
getParagraphs()
Gets the paragraphs. 
 | 
java.util.List<SectionTitles> | 
getSectionTitles()
Gets the sectionTitles. 
 | 
@SerializedName(value="section_titles") protected java.util.List<SectionTitles> sectionTitles
@SerializedName(value="leading_sentences") protected java.util.List<LeadingSentence> leadingSentences
protected java.util.List<Paragraphs> paragraphs
public java.util.List<SectionTitles> getSectionTitles()
An array containing one object per section or subsection identified in the input document.
public java.util.List<LeadingSentence> getLeadingSentences()
An array containing one object per section or subsection, in parallel with the `section_titles` array, that details the leading sentences in the corresponding section or subsection.
public java.util.List<Paragraphs> getParagraphs()
An array containing one object per paragraph, in parallel with the `section_titles` and `leading_sentences` arrays.