Class Document

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

public class Document
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Basic information about the input document.
  • Constructor Details

    • Document

      public Document()
  • Method Details

    • getTitle

      public String getTitle()
      Gets the title.

      Document title, if detected.

      Returns:
      the title
    • getHtml

      public String getHtml()
      Gets the html.

      The input document converted into HTML format.

      Returns:
      the html
    • getHash

      public String getHash()
      Gets the hash.

      The MD5 hash value of the input document.

      Returns:
      the hash
    • getLabel

      public String getLabel()
      Gets the label.

      The label applied to the input document with the calling method's `file_1_label` or `file_2_label` value. This field is specified only in the output of the **Comparing two documents** method.

      Returns:
      the label