public class MediaInputInfo extends AbstractModel
Constructor and Description |
---|
MediaInputInfo() |
MediaInputInfo(MediaInputInfo 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 |
---|---|
CosInputInfo |
getCosInputInfo()
Get This parameter is required and valid when `Type` is `COS`, indicating the information of a COS object for video processing.
|
String |
getType()
Get The type of video processing input object, which supports COS and URL.
|
UrlInputInfo |
getUrlInputInfo()
Get This parameter is required and valid when `Type` is `URL`, indicating the information of a URL object for video processing.
|
void |
setCosInputInfo(CosInputInfo CosInputInfo)
Set This parameter is required and valid when `Type` is `COS`, indicating the information of a COS object for video processing.
|
void |
setType(String Type)
Set The type of video processing input object, which supports COS and URL.
|
void |
setUrlInputInfo(UrlInputInfo UrlInputInfo)
Set This parameter is required and valid when `Type` is `URL`, indicating the information of a URL object for video processing.
|
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 MediaInputInfo()
public MediaInputInfo(MediaInputInfo source)
public String getType()
public void setType(String Type)
Type
- The type of video processing input object, which supports COS and URL.public CosInputInfo getCosInputInfo()
public void setCosInputInfo(CosInputInfo CosInputInfo)
CosInputInfo
- This parameter is required and valid when `Type` is `COS`, indicating the information of a COS object for video processing.public UrlInputInfo getUrlInputInfo()
public void setUrlInputInfo(UrlInputInfo UrlInputInfo)
UrlInputInfo
- This parameter is required and valid when `Type` is `URL`, indicating the information of a URL object for video processing.
Note: this field may return `null`, indicating that no valid value is obtained.Copyright © 2022. All rights reserved.