public class CreateDocumentRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
CreateDocumentRequest()  | 
CreateDocumentRequest(CreateDocumentRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Boolean | 
getAutoHandleUnsupportedElement()
Get Whether or not to enable automatic processing for unsupported elements. 
 | 
String | 
getDocumentName()
Get Document name 
 | 
Long | 
getDocumentSize()
Get Document size, in bytes 
 | 
String | 
getDocumentType()
Get Document extension 
 | 
String | 
getDocumentUrl()
Get Document URL 
 | 
String | 
getOwner()
Get Document owner ID 
 | 
Long | 
getPermission()
Get Permission. 
 | 
Long | 
getSdkAppId()
Get LCIC SdkAppId 
 | 
Long | 
getTranscodeType()
Get Transcoding type. 
 | 
void | 
setAutoHandleUnsupportedElement(Boolean AutoHandleUnsupportedElement)
Set Whether or not to enable automatic processing for unsupported elements. 
 | 
void | 
setDocumentName(String DocumentName)
Set Document name 
 | 
void | 
setDocumentSize(Long DocumentSize)
Set Document size, in bytes 
 | 
void | 
setDocumentType(String DocumentType)
Set Document extension 
 | 
void | 
setDocumentUrl(String DocumentUrl)
Set Document URL 
 | 
void | 
setOwner(String Owner)
Set Document owner ID 
 | 
void | 
setPermission(Long Permission)
Set Permission. 
 | 
void | 
setSdkAppId(Long SdkAppId)
Set LCIC SdkAppId 
 | 
void | 
setTranscodeType(Long TranscodeType)
Set Transcoding type. 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic CreateDocumentRequest()
public CreateDocumentRequest(CreateDocumentRequest source)
public Long getSdkAppId()
public void setSdkAppId(Long SdkAppId)
SdkAppId - LCIC SdkAppIdpublic String getDocumentUrl()
public void setDocumentUrl(String DocumentUrl)
DocumentUrl - Document URLpublic String getDocumentName()
public void setDocumentName(String DocumentName)
DocumentName - Document namepublic String getOwner()
public void setOwner(String Owner)
Owner - Document owner IDpublic Long getTranscodeType()
public void setTranscodeType(Long TranscodeType)
TranscodeType - Transcoding type. Valid values: `0`: No transcoding required (default); `1`: Documents that need to be transcoded: ppt, pptx, pdf, doc, docx; `2`: Videos that need to be transcoded: mp4, 3pg, mpeg, avi, flv, wmv, rm, h264, etc.; `2`: Audio that needs to be transcoded: mp3, wav, wma, aac, flac, opuspublic Long getPermission()
public void setPermission(Long Permission)
Permission - Permission. Valid values: `0`: Private document (default); `1`: Public documentpublic String getDocumentType()
public void setDocumentType(String DocumentType)
DocumentType - Document extensionpublic Long getDocumentSize()
public void setDocumentSize(Long DocumentSize)
DocumentSize - Document size, in bytespublic Boolean getAutoHandleUnsupportedElement()
public void setAutoHandleUnsupportedElement(Boolean AutoHandleUnsupportedElement)
AutoHandleUnsupportedElement - Whether or not to enable automatic processing for unsupported elements. Default: off. The automatically processed elements are as follows: 1. Ink: Remove unsupported ink (e.g. WPS Ink) 2. Auto Page Turn: Remove all auto page turn settings on the PPT and set it to mouse click to turn the page 3. Corrupted Audio/Video: Remove references to corrupted audio/video on the PPTCopyright © 2025. All rights reserved.