public class DescribeTranscodeResponse extends AbstractModel
Constructor and Description |
---|
DescribeTranscodeResponse() |
DescribeTranscodeResponse(DescribeTranscodeResponse 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 |
getCompressFileUrl()
Get URL for downloading the transcoded and compressed file.
|
String |
getExt()
Get Document generation mode (for trial).
|
Long |
getPages()
Get Total number of document pages
|
Long |
getProgress()
Get Transcoding progress.
|
String |
getRequestId()
Get The unique request ID, which is returned for each request.
|
String |
getResolution()
Get Document resolution
|
String |
getResourceListUrl()
Get Download URL (for trial) of the resource list.
|
String |
getResultUrl()
Get URL of the transcoding result
Dynamic transcoding: link of the HTML5 page transcoded from a PowerPoint file
Static transcoding: URL prefix of the image transcoded for each document page.
|
String |
getStatus()
Get Current task state
- QUEUED: queuing for transcoding
- PROCESSING: transcoding is in progress
- FINISHED: transcoded
|
String |
getTaskId()
Get Unique ID of the transcoding task
|
String |
getThumbnailResolution()
Get Resolution of the thumbnail generated for dynamic transcoding
|
String |
getThumbnailUrl()
Get URL prefix of the thumbnail.
|
String |
getTitle()
Get Document name
|
void |
setCompressFileUrl(String CompressFileUrl)
Set URL for downloading the transcoded and compressed file.
|
void |
setExt(String Ext)
Set Document generation mode (for trial).
|
void |
setPages(Long Pages)
Set Total number of document pages
|
void |
setProgress(Long Progress)
Set Transcoding progress.
|
void |
setRequestId(String RequestId)
Set The unique request ID, which is returned for each request.
|
void |
setResolution(String Resolution)
Set Document resolution
|
void |
setResourceListUrl(String ResourceListUrl)
Set Download URL (for trial) of the resource list.
|
void |
setResultUrl(String ResultUrl)
Set URL of the transcoding result
Dynamic transcoding: link of the HTML5 page transcoded from a PowerPoint file
Static transcoding: URL prefix of the image transcoded for each document page.
|
void |
setStatus(String Status)
Set Current task state
- QUEUED: queuing for transcoding
- PROCESSING: transcoding is in progress
- FINISHED: transcoded
|
void |
setTaskId(String TaskId)
Set Unique ID of the transcoding task
|
void |
setThumbnailResolution(String ThumbnailResolution)
Set Resolution of the thumbnail generated for dynamic transcoding
|
void |
setThumbnailUrl(String ThumbnailUrl)
Set URL prefix of the thumbnail.
|
void |
setTitle(String Title)
Set Document name
|
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 DescribeTranscodeResponse()
public DescribeTranscodeResponse(DescribeTranscodeResponse source)
public Long getPages()
public void setPages(Long Pages)
Pages
- Total number of document pagespublic Long getProgress()
public void setProgress(Long Progress)
Progress
- Transcoding progress. Value range: 0 to 100public String getResolution()
public void setResolution(String Resolution)
Resolution
- Document resolutionpublic String getResultUrl()
public void setResultUrl(String ResultUrl)
ResultUrl
- URL of the transcoding result
Dynamic transcoding: link of the HTML5 page transcoded from a PowerPoint file
Static transcoding: URL prefix of the image transcoded for each document page. For example, if the URL prefix is `http://example.com/g0jb42ps49vtebjshilb/`, the image URL of the first page is
`http://example.com/g0jb42ps49vtebjshilb/1.jpg`, and so on.public String getStatus()
public void setStatus(String Status)
Status
- Current task state
- QUEUED: queuing for transcoding
- PROCESSING: transcoding is in progress
- FINISHED: transcodedpublic String getTaskId()
public void setTaskId(String TaskId)
TaskId
- Unique ID of the transcoding taskpublic String getTitle()
public void setTitle(String Title)
Title
- Document namepublic String getThumbnailUrl()
public void setThumbnailUrl(String ThumbnailUrl)
ThumbnailUrl
- URL prefix of the thumbnail. If the URL prefix is `http://example.com/g0jb42ps49vtebjshilb/ `, the thumbnail URL for the first page of the dynamically transcoded PowerPoint file is
`http://example.com/g0jb42ps49vtebjshilb/1.jpg`, and so on.
If the document transcoding request carries the ThumbnailResolution parameter and the transcoding type is dynamic transcoding, this parameter is not null. In other cases, this parameter is null.public String getThumbnailResolution()
public void setThumbnailResolution(String ThumbnailResolution)
ThumbnailResolution
- Resolution of the thumbnail generated for dynamic transcodingpublic String getCompressFileUrl()
public void setCompressFileUrl(String CompressFileUrl)
CompressFileUrl
- URL for downloading the transcoded and compressed file. If `CompressFileType` carried in the document transcoding request is null or is not a supported compression format, this parameter is null.public String getResourceListUrl()
public void setResourceListUrl(String ResourceListUrl)
ResourceListUrl
- Download URL (for trial) of the resource list.
Note: This parameter may return null, indicating that no valid values can be obtained.public String getExt()
public void setExt(String Ext)
Ext
- Document generation mode (for trial).
Note: This parameter may return null, indicating that no valid values can be obtained.public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- The unique request ID, which is returned for each request. RequestId is required for locating a problem.Copyright © 2023. All rights reserved.