Class UrlInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ie.v20200304.models.UrlInfo
-
public class UrlInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetFormat()Get 视频地址格式,可选值: 0:音视频 ; 1:直播流。 默认为0。其他非0非1值默认为0。画质重生任务只支持0。StringgetHost()Get 【不再支持】指定请求资源时,HTTP头部host的值。StringgetUrl()Get 视频 URL。 注意:编辑理解仅支持mp4、flv等格式的点播文件,不支持hls;voidsetFormat(Long Format)Set 视频地址格式,可选值: 0:音视频 ; 1:直播流。 默认为0。其他非0非1值默认为0。画质重生任务只支持0。voidsetHost(String Host)Set 【不再支持】指定请求资源时,HTTP头部host的值。voidsetUrl(String Url)Set 视频 URL。 注意:编辑理解仅支持mp4、flv等格式的点播文件,不支持hls;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
-
UrlInfo
public UrlInfo()
-
UrlInfo
public UrlInfo(UrlInfo 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
-
getUrl
public String getUrl()
Get 视频 URL。 注意:编辑理解仅支持mp4、flv等格式的点播文件,不支持hls;- Returns:
- Url 视频 URL。 注意:编辑理解仅支持mp4、flv等格式的点播文件,不支持hls;
-
setUrl
public void setUrl(String Url)
Set 视频 URL。 注意:编辑理解仅支持mp4、flv等格式的点播文件,不支持hls;- Parameters:
Url- 视频 URL。 注意:编辑理解仅支持mp4、flv等格式的点播文件,不支持hls;
-
getFormat
public Long getFormat()
Get 视频地址格式,可选值: 0:音视频 ; 1:直播流。 默认为0。其他非0非1值默认为0。画质重生任务只支持0。- Returns:
- Format 视频地址格式,可选值: 0:音视频 ; 1:直播流。 默认为0。其他非0非1值默认为0。画质重生任务只支持0。
-
setFormat
public void setFormat(Long Format)
Set 视频地址格式,可选值: 0:音视频 ; 1:直播流。 默认为0。其他非0非1值默认为0。画质重生任务只支持0。- Parameters:
Format- 视频地址格式,可选值: 0:音视频 ; 1:直播流。 默认为0。其他非0非1值默认为0。画质重生任务只支持0。
-
getHost
public String getHost()
Get 【不再支持】指定请求资源时,HTTP头部host的值。- Returns:
- Host 【不再支持】指定请求资源时,HTTP头部host的值。
-
setHost
public void setHost(String Host)
Set 【不再支持】指定请求资源时,HTTP头部host的值。- Parameters:
Host- 【不再支持】指定请求资源时,HTTP头部host的值。
-
-