public class TranscodeTaskResult extends AbstractModel
header, skipSign
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,如果发起文档转码请求参数中CompressFileType为空或者不是支持的压缩格式,该参数为空字符串
|
Long |
getErrorCode()
Get 任务失败错误码
|
String |
getErrorMsg()
Get 任务失败错误信息
|
Long |
getPages()
Get 转码页数
|
String |
getResolution()
Get 分辨率
|
String |
getResultUrl()
Get 转码结果地址
|
String |
getThumbnailResolution()
Get 动态转码缩略图生成分辨率
|
String |
getThumbnailUrl()
Get 缩略图URL前缀,比如,该URL前缀为http://example.com/g0jb42ps49vtebjshilb/,那么动态PPT第1页的缩略图URL为
http://example.com/g0jb42ps49vtebjshilb/1.jpg,其它页以此类推
如果发起文档转码请求参数中带了ThumbnailResolution参数,并且转码类型为动态转码,该参数不为空,其余情况该参数为空字符串
|
String |
getTitle()
Get 标题(一般为文件名)
|
void |
setCompressFileUrl(String CompressFileUrl)
Set 转码压缩文件下载的URL,如果发起文档转码请求参数中CompressFileType为空或者不是支持的压缩格式,该参数为空字符串
|
void |
setErrorCode(Long ErrorCode)
Set 任务失败错误码
|
void |
setErrorMsg(String ErrorMsg)
Set 任务失败错误信息
|
void |
setPages(Long Pages)
Set 转码页数
|
void |
setResolution(String Resolution)
Set 分辨率
|
void |
setResultUrl(String ResultUrl)
Set 转码结果地址
|
void |
setThumbnailResolution(String ThumbnailResolution)
Set 动态转码缩略图生成分辨率
|
void |
setThumbnailUrl(String ThumbnailUrl)
Set 缩略图URL前缀,比如,该URL前缀为http://example.com/g0jb42ps49vtebjshilb/,那么动态PPT第1页的缩略图URL为
http://example.com/g0jb42ps49vtebjshilb/1.jpg,其它页以此类推
如果发起文档转码请求参数中带了ThumbnailResolution参数,并且转码类型为动态转码,该参数不为空,其余情况该参数为空字符串
|
void |
setTitle(String Title)
Set 标题(一般为文件名)
|
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, toJsonString
public TranscodeTaskResult()
public TranscodeTaskResult(TranscodeTaskResult source)
public String getResultUrl()
public void setResultUrl(String ResultUrl)
ResultUrl
- 转码结果地址public String getResolution()
public void setResolution(String Resolution)
Resolution
- 分辨率public String getTitle()
public void setTitle(String Title)
Title
- 标题(一般为文件名)public Long getPages()
public void setPages(Long Pages)
Pages
- 转码页数public String getThumbnailUrl()
public void setThumbnailUrl(String ThumbnailUrl)
ThumbnailUrl
- 缩略图URL前缀,比如,该URL前缀为http://example.com/g0jb42ps49vtebjshilb/,那么动态PPT第1页的缩略图URL为
http://example.com/g0jb42ps49vtebjshilb/1.jpg,其它页以此类推
如果发起文档转码请求参数中带了ThumbnailResolution参数,并且转码类型为动态转码,该参数不为空,其余情况该参数为空字符串public String getThumbnailResolution()
public void setThumbnailResolution(String ThumbnailResolution)
ThumbnailResolution
- 动态转码缩略图生成分辨率public String getCompressFileUrl()
public void setCompressFileUrl(String CompressFileUrl)
CompressFileUrl
- 转码压缩文件下载的URL,如果发起文档转码请求参数中CompressFileType为空或者不是支持的压缩格式,该参数为空字符串public Long getErrorCode()
public void setErrorCode(Long ErrorCode)
ErrorCode
- 任务失败错误码public String getErrorMsg()
public void setErrorMsg(String ErrorMsg)
ErrorMsg
- 任务失败错误信息Copyright © 2024. All rights reserved.