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 | Field and Description |
---|---|
protected java.lang.String |
accept |
protected java.lang.String |
documentId |
Modifier | Constructor and Description |
---|---|
protected |
GetTranslatedDocumentOptions(GetTranslatedDocumentOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
accept()
Gets the accept.
|
java.lang.String |
documentId()
Gets the documentId.
|
GetTranslatedDocumentOptions.Builder |
newBuilder()
New builder.
|
protected java.lang.String documentId
protected java.lang.String accept
protected GetTranslatedDocumentOptions(GetTranslatedDocumentOptions.Builder builder)
public GetTranslatedDocumentOptions.Builder newBuilder()
public java.lang.String documentId()
The document ID of the document that was submitted for translation.
public java.lang.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'.