Class ConvertToHtmlOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.compare_comply.v1.model.ConvertToHtmlOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ConvertToHtmlOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The convertToHtml options.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConvertToHtmlOptions.Builder
Builder.static interface
ConvertToHtmlOptions.Model
The analysis model to be used by the service. -
Method Summary
Modifier and Type Method Description InputStream
file()
Gets the file.String
fileContentType()
Gets the fileContentType.String
model()
Gets the model.ConvertToHtmlOptions.Builder
newBuilder()
New builder.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a ConvertToHtmlOptions builder
-
file
Gets the file.The document to convert.
- Returns:
- the file
-
fileContentType
Gets the fileContentType.The content type of file. Values for this parameter can be obtained from the HttpMediaType class.
- Returns:
- the fileContentType
-
model
Gets the model.The analysis model to be used by the service. For the **Element classification** and **Compare two documents** methods, the default is `contracts`. For the **Extract tables** method, the default is `tables`. These defaults apply to the standalone methods as well as to the methods' use in batch-processing requests.
- Returns:
- the model
-