public class PullUploadRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
PullUploadRequest()  | 
PullUploadRequest(PullUploadRequest 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 | 
getClassId()
Get Category ID, which is used to categorize the media for management. 
 | 
String | 
getCoverUrl()
Get The URL of the video to pull. 
 | 
String | 
getExpireTime()
Get Expiration time of media file in ISO 8601 format. 
 | 
String | 
getExtInfo()
Get Reserved field for special purposes. 
 | 
String | 
getMediaName()
Get Media name. 
 | 
String | 
getMediaType()
Get The file format (extension). 
 | 
String | 
getMediaUrl()
Get The URL of the media to pull, which can be in HLS format, but not DASH format. 
 | 
String | 
getProcedure()
Get Subsequent task for media. 
 | 
String | 
getSessionContext()
Get The source context which is used to pass through the user request information. 
 | 
String | 
getSessionId()
Get Used to identify duplicate requests. 
 | 
String | 
getSourceContext()
Get Source context, which is used to pass through the user request information. 
 | 
String | 
getStorageRegion()
Get Specifies upload region. 
 | 
Long | 
getSubAppId()
Get The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. 
 | 
void | 
setClassId(Long ClassId)
Set Category ID, which is used to categorize the media for management. 
 | 
void | 
setCoverUrl(String CoverUrl)
Set The URL of the video to pull. 
 | 
void | 
setExpireTime(String ExpireTime)
Set Expiration time of media file in ISO 8601 format. 
 | 
void | 
setExtInfo(String ExtInfo)
Set Reserved field for special purposes. 
 | 
void | 
setMediaName(String MediaName)
Set Media name. 
 | 
void | 
setMediaType(String MediaType)
Set The file format (extension). 
 | 
void | 
setMediaUrl(String MediaUrl)
Set The URL of the media to pull, which can be in HLS format, but not DASH format. 
 | 
void | 
setProcedure(String Procedure)
Set Subsequent task for media. 
 | 
void | 
setSessionContext(String SessionContext)
Set The source context which is used to pass through the user request information. 
 | 
void | 
setSessionId(String SessionId)
Set Used to identify duplicate requests. 
 | 
void | 
setSourceContext(String SourceContext)
Set Source context, which is used to pass through the user request information. 
 | 
void | 
setStorageRegion(String StorageRegion)
Set Specifies upload region. 
 | 
void | 
setSubAppId(Long SubAppId)
Set The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. 
 | 
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 PullUploadRequest()
public PullUploadRequest(PullUploadRequest source)
public String getMediaUrl()
public void setMediaUrl(String MediaUrl)
MediaUrl - The URL of the media to pull, which can be in HLS format, but not DASH format.
For more information about supported extensions, see [Media types](https://intl.cloud.tencent.com/document/product/266/9760#media-types). Please make sure the URL is accessible.public String getMediaType()
public void setMediaType(String MediaType)
MediaType - The file format (extension). For information about supported extensions, see [Media Types](https://intl.cloud.tencent.com/document/product/266/9760?from_cn_redirect=1#.E5.AA.92.E4.BD.93.E7.B1.BB.E5.9E.8B).
If you do not specify this parameter or pass in an empty string, the file obtained will have the same extension as `MediaUrl`.public Long getSubAppId()
public void setSubAppId(Long SubAppId)
SubAppId - The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.public String getMediaName()
public void setMediaName(String MediaName)
MediaName - Media name.public String getCoverUrl()
public void setCoverUrl(String CoverUrl)
CoverUrl - The URL of the video to pull. Supported formats include GIF, JPEG (JPG), and PNG.public String getProcedure()
public void setProcedure(String Procedure)
Procedure - Subsequent task for media. For more information, please see [Specifying Task Flow After Upload](https://intl.cloud.tencent.com/document/product/266/9759?from_cn_redirect=1).public String getExpireTime()
public void setExpireTime(String ExpireTime)
ExpireTime - Expiration time of media file in ISO 8601 format. For more information, please see [Notes on ISO Date Format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).public String getStorageRegion()
public void setStorageRegion(String StorageRegion)
StorageRegion - Specifies upload region. This is only applicable to users that have special requirements for the upload region:
public Long getClassId()
public void setClassId(Long ClassId)
ClassId - Category ID, which is used to categorize the media for management. A category can be created and its ID can be obtained by using the [CreateClass](https://intl.cloud.tencent.com/document/product/266/7812?from_cn_redirect=1) API.public String getSessionContext()
public void setSessionContext(String SessionContext)
SessionContext - The source context which is used to pass through the user request information. After `Procedure` is specified, the task flow status change callback will return the value of this field. It can contain up to 1,000 characters.public String getSessionId()
public void setSessionId(String SessionId)
SessionId - Used to identify duplicate requests. After you send a request, if any request with the same `SessionId` has already been sent in the last three days (72 hours), an error message will be returned. `SessionId` contains up to 50 characters. If this parameter is not carried or is an empty string, no deduplication will be performed.public String getExtInfo()
public void setExtInfo(String ExtInfo)
ExtInfo - Reserved field for special purposes.public String getSourceContext()
public void setSourceContext(String SourceContext)
SourceContext - Source context, which is used to pass through the user request information. The [upload callback](https://intl.cloud.tencent.com/document/product/266/7830?from_cn_redirect=1) API will return the value of this field. It can contain up to 250 characters.Copyright © 2025. All rights reserved.