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 Summary
Constructors Constructor Description Document()
-
Method Summary
Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
Document
public Document()
-
-
Method Details
-
getTitle
Gets the title.Document title, if detected.
- Returns:
- the title
-
getHtml
Gets the html.The input document converted into HTML format.
- Returns:
- the html
-
getHash
Gets the hash.The MD5 hash value of the input document.
- Returns:
- the hash
-
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
-