public class ApplyUploadRequest extends AbstractModel
skipSign
Constructor and Description |
---|
ApplyUploadRequest() |
ApplyUploadRequest(ApplyUploadRequest 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 |
getCoverType()
Get Cover type.
|
String |
getExpireTime()
Get Expiration time of a media file in ISO 8601 format.
|
String |
getExtInfo()
Get Reserved parameter for special purposes.
|
String |
getMediaName()
Get Media name.
|
String |
getMediaType()
Get Media type.
|
String |
getProcedure()
Get Subsequent task operation on a media file, i.e., after a media file is uploaded, task flow operations will be initiated automatically.
|
String |
getSessionContext()
Get Session context, which is used to pass through the user request information.
|
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 [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID.
|
void |
setClassId(Long ClassId)
Set Category ID, which is used to categorize the media for management.
|
void |
setCoverType(String CoverType)
Set Cover type.
|
void |
setExpireTime(String ExpireTime)
Set Expiration time of a media file in ISO 8601 format.
|
void |
setExtInfo(String ExtInfo)
Set Reserved parameter for special purposes.
|
void |
setMediaName(String MediaName)
Set Media name.
|
void |
setMediaType(String MediaType)
Set Media type.
|
void |
setProcedure(String Procedure)
Set Subsequent task operation on a media file, i.e., after a media file is uploaded, task flow operations will be initiated automatically.
|
void |
setSessionContext(String SessionContext)
Set Session context, which is used to pass through the user request information.
|
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 [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ApplyUploadRequest()
public ApplyUploadRequest(ApplyUploadRequest source)
public String getMediaType()
public void setMediaType(String MediaType)
MediaType
- Media type. For the detailed valid values, please see [Upload Overview](https://intl.cloud.tencent.com/document/product/266/9760?from_cn_redirect=1#.E6.96.87.E4.BB.B6.E7.B1.BB.E5.9E.8B).public Long getSubAppId()
public void setSubAppId(Long SubAppId)
SubAppId
- The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.public String getMediaName()
public void setMediaName(String MediaName)
MediaName
- Media name.public String getCoverType()
public void setCoverType(String CoverType)
CoverType
- Cover type. For the detailed valid values, please see [Upload Overview](https://intl.cloud.tencent.com/document/product/266/9760?from_cn_redirect=1#.E6.96.87.E4.BB.B6.E7.B1.BB.E5.9E.8B).public String getProcedure()
public void setProcedure(String Procedure)
Procedure
- Subsequent task operation on a media file, i.e., after a media file is uploaded, task flow operations will be initiated automatically. This parameter value is a task flow template name. VOD supports [creating task flow templates](https://intl.cloud.tencent.com/document/product/266/33819?from_cn_redirect=1) and naming the templates.public String getExpireTime()
public void setExpireTime(String ExpireTime)
ExpireTime
- Expiration time of a 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#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).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 [category creating](https://intl.cloud.tencent.com/document/product/266/7812?from_cn_redirect=1) API.
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.public String getSessionContext()
public void setSessionContext(String SessionContext)
SessionContext
- Session context, which is used to pass through the user request information. If the `Procedure` parameter is specified, the [task flow status change callback](https://intl.cloud.tencent.com/document/product/266/9636?from_cn_redirect=1) API will return the value of this field. It can contain up to 1,000 characters.public String getExtInfo()
public void setExtInfo(String ExtInfo)
ExtInfo
- Reserved parameter for special purposes.Copyright © 2023. All rights reserved.