public class TranscodeTaskResult extends AbstractModel
Constructor and Description |
---|
TranscodeTaskResult() |
TranscodeTaskResult(TranscodeTaskResult 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.
|
Long |
getErrorCode()
Get Task execution error code.
|
String |
getErrorMsg()
Get Task execution error message.
|
Long |
getPages()
Get Number of transcoded pages.
|
String |
getResolution()
Get Target resolution.
|
String |
getResultUrl()
Get Transcoding result URL.
|
String |
getThumbnailResolution()
Get Resolution of the thumbnail generated for dynamic transcoding
|
String |
getThumbnailUrl()
Get URL prefix of the thumbnail.
|
String |
getTitle()
Get Title (usually the document name).
|
void |
setCompressFileUrl(String CompressFileUrl)
Set URL for downloading the transcoded and compressed file.
|
void |
setErrorCode(Long ErrorCode)
Set Task execution error code.
|
void |
setErrorMsg(String ErrorMsg)
Set Task execution error message.
|
void |
setPages(Long Pages)
Set Number of transcoded pages.
|
void |
setResolution(String Resolution)
Set Target resolution.
|
void |
setResultUrl(String ResultUrl)
Set Transcoding result URL.
|
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 Title (usually the 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 TranscodeTaskResult()
public TranscodeTaskResult(TranscodeTaskResult source)
public String getResultUrl()
public void setResultUrl(String ResultUrl)
ResultUrl
- Transcoding result URL.public String getResolution()
public void setResolution(String Resolution)
Resolution
- Target resolution.public String getTitle()
public void setTitle(String Title)
Title
- Title (usually the document name).public Long getPages()
public void setPages(Long Pages)
Pages
- Number of transcoded pages.public 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 Long getErrorCode()
public void setErrorCode(Long ErrorCode)
ErrorCode
- Task execution error code.public String getErrorMsg()
public void setErrorMsg(String ErrorMsg)
ErrorMsg
- Task execution error message.Copyright © 2023. All rights reserved.