public class TencentVod extends AbstractModel
Constructor and Description |
---|
TencentVod() |
TencentVod(TencentVod 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 The category ID, which is returned after you create a category by calling an API.
|
Long |
getExpireTime()
Get The expiration time of the media file, which is a time period (seconds) from the current time.
|
Long |
getMediaType()
Get The format of recording files uploaded to VOD.
|
String |
getProcedure()
Get The operation to perform on the media uploaded.
|
String |
getSessionContext()
Get The task flow context, which is passed through after the task is completed.
|
String |
getSourceContext()
Get The upload context, which is passed through after upload is completed.
|
String |
getStorageRegion()
Get The storage region.
|
Long |
getSubAppId()
Get The VOD subapplication ID.
|
String |
getUserDefineRecordId()
Get The custom prefix of recording files.
|
void |
setClassId(Long ClassId)
Set The category ID, which is returned after you create a category by calling an API.
|
void |
setExpireTime(Long ExpireTime)
Set The expiration time of the media file, which is a time period (seconds) from the current time.
|
void |
setMediaType(Long MediaType)
Set The format of recording files uploaded to VOD.
|
void |
setProcedure(String Procedure)
Set The operation to perform on the media uploaded.
|
void |
setSessionContext(String SessionContext)
Set The task flow context, which is passed through after the task is completed.
|
void |
setSourceContext(String SourceContext)
Set The upload context, which is passed through after upload is completed.
|
void |
setStorageRegion(String StorageRegion)
Set The storage region.
|
void |
setSubAppId(Long SubAppId)
Set The VOD subapplication ID.
|
void |
setUserDefineRecordId(String UserDefineRecordId)
Set The custom prefix of recording files.
|
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 TencentVod()
public TencentVod(TencentVod source)
public String getProcedure()
public void setProcedure(String Procedure)
Procedure
- The operation to perform on the media uploaded. The value of this parameter is the name of a task flow template. You can create a custom task flow template in Tencent Cloud VOD.public Long getExpireTime()
public void setExpireTime(Long ExpireTime)
ExpireTime
- The expiration time of the media file, which is a time period (seconds) from the current time. For example, `86400` means to save the media file for one day. To save the file permanently, set this parameter to `0`.public String getStorageRegion()
public void setStorageRegion(String StorageRegion)
StorageRegion
- The storage region. Set this parameter if you have special requirements on the storage region.public Long getClassId()
public void setClassId(Long ClassId)
ClassId
- The category ID, which is returned after you create a category by calling an API. You can use categories to manage media files.
The default value is `0`, which means others.public Long getSubAppId()
public void setSubAppId(Long SubAppId)
SubAppId
- The VOD subapplication ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.public String getSessionContext()
public void setSessionContext(String SessionContext)
SessionContext
- The task flow context, which is passed through after the task is completed.public String getSourceContext()
public void setSourceContext(String SourceContext)
SourceContext
- The upload context, which is passed through after upload is completed.public Long getMediaType()
public void setMediaType(Long MediaType)
MediaType
- The format of recording files uploaded to VOD. `0` (default): MP4; `1`: HLS; `2`: AAC (valid only if `StreamType` is `1`).public String getUserDefineRecordId()
public void setUserDefineRecordId(String UserDefineRecordId)
UserDefineRecordId
- The custom prefix of recording files. This parameter is valid only if recording files are uploaded to VOD. It can contain letters, numbers, underscores, and hyphens and cannot exceed 64 bytes. This prefix and the automatically generated filename are connected with `__UserId_u_`.Copyright © 2023. All rights reserved.