public class ConvertToHtmlOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
ConvertToHtmlOptions.Builder
Builder.
|
static interface |
ConvertToHtmlOptions.Model
The analysis model to be used by the service.
|
Modifier and Type | Field and Description |
---|---|
protected java.io.InputStream |
file |
protected java.lang.String |
fileContentType |
protected java.lang.String |
model |
Modifier | Constructor and Description |
---|---|
protected |
ConvertToHtmlOptions(ConvertToHtmlOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
file()
Gets the file.
|
java.lang.String |
fileContentType()
Gets the fileContentType.
|
java.lang.String |
model()
Gets the model.
|
ConvertToHtmlOptions.Builder |
newBuilder()
New builder.
|
protected java.io.InputStream file
protected java.lang.String fileContentType
protected java.lang.String model
protected ConvertToHtmlOptions(ConvertToHtmlOptions.Builder builder)
public ConvertToHtmlOptions.Builder newBuilder()
public java.io.InputStream file()
The document to convert.
public java.lang.String fileContentType()
The content type of file. Values for this parameter can be obtained from the HttpMediaType class.
public java.lang.String 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.