public class PullUploadRequest extends AbstractModel
Constructor and Description |
---|
PullUploadRequest() |
Modifier and Type | Method and Description |
---|---|
Long |
getClassId()
Get Category ID, which is used to categorize the media for management.
|
String |
getCoverUrl()
Get URL of video cover to be pulled.
|
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 |
getMediaUrl()
Get URL of the media to be pulled.
|
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 The ID used for deduplication.
|
String |
getSourceContext()
Get Source context, which is used to pass through the user request information.
|
String |
getStorageRegion()
Get Specifies upload region.
|
Long |
getSubAppId()
Get [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD.
|
void |
setClassId(Long ClassId)
Set Category ID, which is used to categorize the media for management.
|
void |
setCoverUrl(String CoverUrl)
Set URL of video cover to be pulled.
|
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 |
setMediaUrl(String MediaUrl)
Set URL of the media to be pulled.
|
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 The ID used for deduplication.
|
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 [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD.
|
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 String getMediaUrl()
public void setMediaUrl(String MediaUrl)
MediaUrl
- URL of the media to be pulled. Supported media format: HLS; unsupported media format: DASH.
For more information about supported extensions, please 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).public String getMediaName()
public void setMediaName(String MediaName)
MediaName
- Media name.public String getCoverUrl()
public void setCoverUrl(String CoverUrl)
CoverUrl
- URL of video cover to be pulled. Only gif, jpeg, and png formats are supported.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
- The ID used for deduplication. If there was a request with the same ID in the last seven days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or a blank string is entered, no deduplication will be performed.public String getExtInfo()
public void setExtInfo(String ExtInfo)
ExtInfo
- Reserved field for special purposes.public Long getSubAppId()
public void setSubAppId(Long SubAppId)
SubAppId
- [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.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 © 2020. All rights reserved.