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 |
---|---|
Boolean |
getAutoHandleUnsupportedElement()
Get Specifies whether to enable auto handling of unsupported elements.
|
String |
getCompressFileType()
Get Compression format of the transcoded file.
|
String |
getExtraData()
Get Internal parameter.
|
Boolean |
getIsStaticPPT()
Get Whether the PowerPoint file is static.
|
String |
getMinResolution()
Get Note: This parameter is disused.
|
String |
getMinScaleResolution()
Get Minimum resolution of the transcoded document.
|
String |
getPriority()
Get Document transcoding priority.
|
Long |
getSdkAppId()
Get SdkAppId of the customer
|
String |
getThumbnailResolution()
Get Resolution of the thumbnail generated for the dynamically transcoded PowerPoint file.
|
String |
getUrl()
Get URL of the transcoded document after URL encoding.
|
void |
setAutoHandleUnsupportedElement(Boolean AutoHandleUnsupportedElement)
Set Specifies whether to enable auto handling of unsupported elements.
|
void |
setCompressFileType(String CompressFileType)
Set Compression format of the transcoded file.
|
void |
setExtraData(String ExtraData)
Set Internal parameter.
|
void |
setIsStaticPPT(Boolean IsStaticPPT)
Set Whether the PowerPoint file is static.
|
void |
setMinResolution(String MinResolution)
Set Note: This parameter is disused.
|
void |
setMinScaleResolution(String MinScaleResolution)
Set Minimum resolution of the transcoded document.
|
void |
setPriority(String Priority)
Set Document transcoding priority.
|
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 URL of the transcoded document after URL encoding.
|
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
- URL of the transcoded document after URL encoding. URL encoding converts characters into a format that can be transmitted over the Internet. For example, URL encoding can convert the document URL http://example.com/Test.pdf into http://example.com/%E6%B5%8B%E8%AF%95.pdf. To improve the success rate of URL parsing, use URL encoding.public 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
- Note: This parameter is disused. Use the MinScaleResolution parameter to pass in a resolution. For more information, see [CreateTranscode](https://intl.cloud.tencent.com/document/api/1137/40060?from_cn_redirect=1#SDK).
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.
Example: 1280x720. Note that the character between the numbers is the letter x.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.public String getExtraData()
public void setExtraData(String ExtraData)
ExtraData
- Internal parameter.public String getPriority()
public void setPriority(String Priority)
Priority
- Document transcoding priority. This parameter takes effect only for PowerPoint dynamic transcoding. Valid values:public String getMinScaleResolution()
public void setMinScaleResolution(String MinScaleResolution)
MinScaleResolution
- 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.
Higher resolution brings clearer visual effect, but also means larger size of the transcoded image resources and longer loading time of the transcoded file. Set this parameter appropriately based on your actual scenario.
Example: 1280x720. Note that the character between the numbers is the letter x.public Boolean getAutoHandleUnsupportedElement()
public void setAutoHandleUnsupportedElement(Boolean AutoHandleUnsupportedElement)
AutoHandleUnsupportedElement
- Specifies whether to enable auto handling of unsupported elements. By default, this feature is disabled.
If auto handling is enabled, the following processes are performed:
1. Inkblots: Remove unsupported inkblots, such as those drawn by using WPS.
2. Auto page flip: Clear the auto page clip settings in the PowerPoint file and set the page flip mode to mouse click.
3. Corrupted audio/videos: Remove the references to corrupted audio/videos in the PowerPoint file.Copyright © 2023. All rights reserved.