Class DocStructure

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.compare_comply.v1.model.DocStructure
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class DocStructure
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The structure of the input document.
  • Constructor Details

    • DocStructure

      public DocStructure()
  • Method Details

    • getSectionTitles

      public List<SectionTitles> getSectionTitles()
      Gets the sectionTitles.

      An array containing one object per section or subsection identified in the input document.

      Returns:
      the sectionTitles
    • getLeadingSentences

      public List<LeadingSentence> getLeadingSentences()
      Gets the leadingSentences.

      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.

      Returns:
      the leadingSentences
    • getParagraphs

      public List<Paragraphs> getParagraphs()
      Gets the paragraphs.

      An array containing one object per paragraph, in parallel with the `section_titles` and `leading_sentences` arrays.

      Returns:
      the paragraphs