public class GetTranslatedDocumentOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
GetTranslatedDocumentOptions.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
String |
accept()
Gets the accept.
|
String |
documentId()
Gets the documentId.
|
GetTranslatedDocumentOptions.Builder |
newBuilder()
New builder.
|
public GetTranslatedDocumentOptions.Builder newBuilder()
public String documentId()
The document ID of the document that was submitted for translation.
public String 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'.
Copyright © 2024 IBM Cloud. All rights reserved.