Class TranscodeTaskResult
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tiw.v20190919.models.TranscodeTaskResult
-
public class TranscodeTaskResult extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCompressFileUrl()Get 转码压缩文件下载的URL,如果发起文档转码请求参数中CompressFileType为空或者不是支持的压缩格式,该参数为空字符串LonggetErrorCode()Get 任务失败错误码StringgetErrorMsg()Get 任务失败错误信息LonggetPages()Get 转码页数StringgetResolution()Get 分辨率StringgetResultUrl()Get 转码结果地址StringgetThumbnailResolution()Get 动态转码缩略图生成分辨率StringgetThumbnailUrl()Get 缩略图URL前缀,比如,该URL前缀为http://example.com/g0jb42ps49vtebjshilb/,那么动态PPT第1页的缩略图URL为 http://example.com/g0jb42ps49vtebjshilb/1.jpg,其它页以此类推 如果发起文档转码请求参数中带了ThumbnailResolution参数,并且转码类型为动态转码,该参数不为空,其余情况该参数为空字符串StringgetTitle()Get 标题(一般为文件名)voidsetCompressFileUrl(String CompressFileUrl)Set 转码压缩文件下载的URL,如果发起文档转码请求参数中CompressFileType为空或者不是支持的压缩格式,该参数为空字符串voidsetErrorCode(Long ErrorCode)Set 任务失败错误码voidsetErrorMsg(String ErrorMsg)Set 任务失败错误信息voidsetPages(Long Pages)Set 转码页数voidsetResolution(String Resolution)Set 分辨率voidsetResultUrl(String ResultUrl)Set 转码结果地址voidsetThumbnailResolution(String ThumbnailResolution)Set 动态转码缩略图生成分辨率voidsetThumbnailUrl(String ThumbnailUrl)Set 缩略图URL前缀,比如,该URL前缀为http://example.com/g0jb42ps49vtebjshilb/,那么动态PPT第1页的缩略图URL为 http://example.com/g0jb42ps49vtebjshilb/1.jpg,其它页以此类推 如果发起文档转码请求参数中带了ThumbnailResolution参数,并且转码类型为动态转码,该参数不为空,其余情况该参数为空字符串voidsetTitle(String Title)Set 标题(一般为文件名)voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
TranscodeTaskResult
public TranscodeTaskResult()
-
TranscodeTaskResult
public 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.
-
-
Method Detail
-
getResultUrl
public String getResultUrl()
Get 转码结果地址- Returns:
- ResultUrl 转码结果地址
-
setResultUrl
public void setResultUrl(String ResultUrl)
Set 转码结果地址- Parameters:
ResultUrl- 转码结果地址
-
getResolution
public String getResolution()
Get 分辨率- Returns:
- Resolution 分辨率
-
setResolution
public void setResolution(String Resolution)
Set 分辨率- Parameters:
Resolution- 分辨率
-
getTitle
public String getTitle()
Get 标题(一般为文件名)- Returns:
- Title 标题(一般为文件名)
-
setTitle
public void setTitle(String Title)
Set 标题(一般为文件名)- Parameters:
Title- 标题(一般为文件名)
-
getPages
public Long getPages()
Get 转码页数- Returns:
- Pages 转码页数
-
setPages
public void setPages(Long Pages)
Set 转码页数- Parameters:
Pages- 转码页数
-
getThumbnailUrl
public String getThumbnailUrl()
Get 缩略图URL前缀,比如,该URL前缀为http://example.com/g0jb42ps49vtebjshilb/,那么动态PPT第1页的缩略图URL为 http://example.com/g0jb42ps49vtebjshilb/1.jpg,其它页以此类推 如果发起文档转码请求参数中带了ThumbnailResolution参数,并且转码类型为动态转码,该参数不为空,其余情况该参数为空字符串- Returns:
- ThumbnailUrl 缩略图URL前缀,比如,该URL前缀为http://example.com/g0jb42ps49vtebjshilb/,那么动态PPT第1页的缩略图URL为 http://example.com/g0jb42ps49vtebjshilb/1.jpg,其它页以此类推 如果发起文档转码请求参数中带了ThumbnailResolution参数,并且转码类型为动态转码,该参数不为空,其余情况该参数为空字符串
-
setThumbnailUrl
public void setThumbnailUrl(String ThumbnailUrl)
Set 缩略图URL前缀,比如,该URL前缀为http://example.com/g0jb42ps49vtebjshilb/,那么动态PPT第1页的缩略图URL为 http://example.com/g0jb42ps49vtebjshilb/1.jpg,其它页以此类推 如果发起文档转码请求参数中带了ThumbnailResolution参数,并且转码类型为动态转码,该参数不为空,其余情况该参数为空字符串- Parameters:
ThumbnailUrl- 缩略图URL前缀,比如,该URL前缀为http://example.com/g0jb42ps49vtebjshilb/,那么动态PPT第1页的缩略图URL为 http://example.com/g0jb42ps49vtebjshilb/1.jpg,其它页以此类推 如果发起文档转码请求参数中带了ThumbnailResolution参数,并且转码类型为动态转码,该参数不为空,其余情况该参数为空字符串
-
getThumbnailResolution
public String getThumbnailResolution()
Get 动态转码缩略图生成分辨率- Returns:
- ThumbnailResolution 动态转码缩略图生成分辨率
-
setThumbnailResolution
public void setThumbnailResolution(String ThumbnailResolution)
Set 动态转码缩略图生成分辨率- Parameters:
ThumbnailResolution- 动态转码缩略图生成分辨率
-
getCompressFileUrl
public String getCompressFileUrl()
Get 转码压缩文件下载的URL,如果发起文档转码请求参数中CompressFileType为空或者不是支持的压缩格式,该参数为空字符串- Returns:
- CompressFileUrl 转码压缩文件下载的URL,如果发起文档转码请求参数中CompressFileType为空或者不是支持的压缩格式,该参数为空字符串
-
setCompressFileUrl
public void setCompressFileUrl(String CompressFileUrl)
Set 转码压缩文件下载的URL,如果发起文档转码请求参数中CompressFileType为空或者不是支持的压缩格式,该参数为空字符串- Parameters:
CompressFileUrl- 转码压缩文件下载的URL,如果发起文档转码请求参数中CompressFileType为空或者不是支持的压缩格式,该参数为空字符串
-
getErrorCode
public Long getErrorCode()
Get 任务失败错误码- Returns:
- ErrorCode 任务失败错误码
-
setErrorCode
public void setErrorCode(Long ErrorCode)
Set 任务失败错误码- Parameters:
ErrorCode- 任务失败错误码
-
getErrorMsg
public String getErrorMsg()
Get 任务失败错误信息- Returns:
- ErrorMsg 任务失败错误信息
-
setErrorMsg
public void setErrorMsg(String ErrorMsg)
Set 任务失败错误信息- Parameters:
ErrorMsg- 任务失败错误信息
-
-