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 | Method and Description |
---|---|
InputStream |
file()
Gets the file.
|
String |
fileContentType()
Gets the fileContentType.
|
String |
model()
Gets the model.
|
ConvertToHtmlOptions.Builder |
newBuilder()
New builder.
|
public ConvertToHtmlOptions.Builder newBuilder()
public InputStream file()
The document to convert.
public String fileContentType()
The content type of file. Values for this parameter can be obtained from the HttpMediaType class.
public 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.
Copyright © 2021 IBM Cloud. All rights reserved.