public class CreateTranscodeRequest extends AbstractModel
Constructor and Description |
---|
CreateTranscodeRequest() |
CreateTranscodeRequest(CreateTranscodeRequest 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 |
---|---|
String |
getCompressFileType()
Get Compression format of the transcoded file.
|
Boolean |
getIsStaticPPT()
Get Whether the PowerPoint file is static.
|
String |
getMinResolution()
Get Minimum resolution of the transcoded document.
|
Long |
getSdkAppId()
Get SdkAppId of the customer
|
String |
getThumbnailResolution()
Get Resolution of the thumbnail generated for the dynamically transcoded PowerPoint file.
|
String |
getUrl()
Get Address of the file for transcoding
|
void |
setCompressFileType(String CompressFileType)
Set Compression format of the transcoded file.
|
void |
setIsStaticPPT(Boolean IsStaticPPT)
Set Whether the PowerPoint file is static.
|
void |
setMinResolution(String MinResolution)
Set Minimum resolution of the transcoded document.
|
void |
setSdkAppId(Long SdkAppId)
Set SdkAppId of the customer
|
void |
setThumbnailResolution(String ThumbnailResolution)
Set Resolution of the thumbnail generated for the dynamically transcoded PowerPoint file.
|
void |
setUrl(String Url)
Set Address of the file for transcoding
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CreateTranscodeRequest()
public CreateTranscodeRequest(CreateTranscodeRequest source)
public Long getSdkAppId()
public void setSdkAppId(Long SdkAppId)
SdkAppId
- SdkAppId of the customerpublic String getUrl()
public void setUrl(String Url)
Url
- Address of the file for transcodingpublic Boolean getIsStaticPPT()
public void setIsStaticPPT(Boolean IsStaticPPT)
IsStaticPPT
- Whether the PowerPoint file is static. The default value is False.
If IsStaticPPT is False, documents with the .ppt or .pptx extension will be dynamically transcoded to HTML5 pages, and documents with other extensions will be statically transcoded to images. If IsStaticPPT is True, documents with any extensions will be statically transcoded to images.public String getMinResolution()
public void setMinResolution(String MinResolution)
MinResolution
- Minimum resolution of the transcoded document. If no value or null is specified for it or the resolution format is invalid, the original document resolution is used.public String getThumbnailResolution()
public void setThumbnailResolution(String ThumbnailResolution)
ThumbnailResolution
- Resolution of the thumbnail generated for the dynamically transcoded PowerPoint file. If no value or null is specified for it or the resolution format is invalid, no thumbnail will be generated. The resolution format is the same as that of MinResolution.
For static transcoding, this parameter does not work.public String getCompressFileType()
public void setCompressFileType(String CompressFileType)
CompressFileType
- Compression format of the transcoded file. If no value or null is specified for it or the specified format is invalid, no compression file will be generated. Currently, the following compression formats are supported:
`zip`: generates a .zip compression package.
`tar.gz: generates a .tar.gz compression package.Copyright © 2021. All rights reserved.