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.
  • Method Details

    • newBuilder

      public ConvertToHtmlOptions.Builder newBuilder()
      New builder.
      Returns:
      a ConvertToHtmlOptions builder
    • file

      public InputStream file()
      Gets the file.

      The document to convert.

      Returns:
      the file
    • fileContentType

      public String fileContentType()
      Gets the fileContentType.

      The content type of file. Values for this parameter can be obtained from the HttpMediaType class.

      Returns:
      the fileContentType
    • model

      public String 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