Class GetTranslatedDocumentOptions

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.language_translator.v3.model.GetTranslatedDocumentOptions
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class GetTranslatedDocumentOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The getTranslatedDocument options.
  • Method Details

    • newBuilder

      New builder.
      Returns:
      a GetTranslatedDocumentOptions builder
    • documentId

      public String documentId()
      Gets the documentId.

      The document ID of the document that was submitted for translation.

      Returns:
      the documentId
    • accept

      public String accept()
      Gets the accept.

      The type of the response: application/powerpoint, application/mspowerpoint, application/x-rtf, application/json, application/xml, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-powerpoint, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.oasis.opendocument.spreadsheet, application/vnd.oasis.opendocument.presentation, application/vnd.oasis.opendocument.text, application/pdf, application/rtf, text/html, text/json, text/plain, text/richtext, text/rtf, or text/xml. A character encoding can be specified by including a `charset` parameter. For example, 'text/html;charset=utf-8'.

      Returns:
      the accept