Class MediaSourceInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ie.v20200304.models.MediaSourceInfo
-
public class MediaSourceInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description MediaSourceInfo()MediaSourceInfo(MediaSourceInfo 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 DownInfogetDownInfo()Get 媒体源资源下载信息。StringgetId()Get 媒体源ID标记,用于多个输入源时,请内媒体源的定位,对于多输入的任务,一般要求必选。 ID只能包含字母、数字、下划线、中划线,长读不能超过128。StringgetType()Get 媒体源类型,具体类型如下: Video:视频 Image:图片 Audio:音频voidsetDownInfo(DownInfo DownInfo)Set 媒体源资源下载信息。voidsetId(String Id)Set 媒体源ID标记,用于多个输入源时,请内媒体源的定位,对于多输入的任务,一般要求必选。 ID只能包含字母、数字、下划线、中划线,长读不能超过128。voidsetType(String Type)Set 媒体源类型,具体类型如下: Video:视频 Image:图片 Audio:音频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
-
MediaSourceInfo
public MediaSourceInfo()
-
MediaSourceInfo
public MediaSourceInfo(MediaSourceInfo 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
-
getDownInfo
public DownInfo getDownInfo()
Get 媒体源资源下载信息。- Returns:
- DownInfo 媒体源资源下载信息。
-
setDownInfo
public void setDownInfo(DownInfo DownInfo)
Set 媒体源资源下载信息。- Parameters:
DownInfo- 媒体源资源下载信息。
-
getId
public String getId()
Get 媒体源ID标记,用于多个输入源时,请内媒体源的定位,对于多输入的任务,一般要求必选。 ID只能包含字母、数字、下划线、中划线,长读不能超过128。- Returns:
- Id 媒体源ID标记,用于多个输入源时,请内媒体源的定位,对于多输入的任务,一般要求必选。 ID只能包含字母、数字、下划线、中划线,长读不能超过128。
-
setId
public void setId(String Id)
Set 媒体源ID标记,用于多个输入源时,请内媒体源的定位,对于多输入的任务,一般要求必选。 ID只能包含字母、数字、下划线、中划线,长读不能超过128。- Parameters:
Id- 媒体源ID标记,用于多个输入源时,请内媒体源的定位,对于多输入的任务,一般要求必选。 ID只能包含字母、数字、下划线、中划线,长读不能超过128。
-
getType
public String getType()
Get 媒体源类型,具体类型如下: Video:视频 Image:图片 Audio:音频- Returns:
- Type 媒体源类型,具体类型如下: Video:视频 Image:图片 Audio:音频
-
setType
public void setType(String Type)
Set 媒体源类型,具体类型如下: Video:视频 Image:图片 Audio:音频- Parameters:
Type- 媒体源类型,具体类型如下: Video:视频 Image:图片 Audio:音频
-
-