Class GetTranslatedDocumentOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class GetTranslatedDocumentOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetTranslatedDocumentOptions.Builder
Builder. -
Method Summary
Modifier and Type Method Description String
accept()
Gets the accept.String
documentId()
Gets the documentId.GetTranslatedDocumentOptions.Builder
newBuilder()
New builder.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a GetTranslatedDocumentOptions builder
-
documentId
Gets the documentId.The document ID of the document that was submitted for translation.
- Returns:
- the documentId
-
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
-