public class UrlInfo extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| UrlInfo() | 
| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| Long | getFormat()Get 视频地址格式,可选值: 
0:音视频 ;
1:直播流。 
默认为0。其他非0非1值默认为0。画质重生任务只支持0。 | 
| String | getHost()Get 【不再支持】指定请求资源时,HTTP头部host的值。 | 
| String | getUrl()Get 视频 URL。
注意:编辑理解仅支持mp4、flv等格式的点播文件,不支持hls; | 
| void | setFormat(Long Format)Set 视频地址格式,可选值: 
0:音视频 ;
1:直播流。 
默认为0。其他非0非1值默认为0。画质重生任务只支持0。 | 
| void | setHost(String Host)Set 【不再支持】指定请求资源时,HTTP头部host的值。 | 
| void | setUrl(String Url)Set 视频 URL。
注意:编辑理解仅支持mp4、flv等格式的点播文件,不支持hls; | 
| 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, toJsonStringpublic UrlInfo()
public UrlInfo(UrlInfo source)
public String getUrl()
public void setUrl(String Url)
Url - 视频 URL。
注意:编辑理解仅支持mp4、flv等格式的点播文件,不支持hls;public Long getFormat()
public void setFormat(Long Format)
Format - 视频地址格式,可选值: 
0:音视频 ;
1:直播流。 
默认为0。其他非0非1值默认为0。画质重生任务只支持0。public String getHost()
public void setHost(String Host)
Host - 【不再支持】指定请求资源时,HTTP头部host的值。Copyright © 2025. All rights reserved.