public class FileUploadTask extends AbstractModel
header, skipSign
Constructor and Description |
---|
FileUploadTask() |
FileUploadTask(FileUploadTask 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 |
---|---|
String |
getFileId()
Get Unique file ID.
|
MediaBasicInfo |
getMediaBasicInfo()
Get Basic information of media file generated after upload is completed.
|
MediaMetaData |
getMetaData()
Get Metadata, such as size, duration, video stream information, audio stream information, etc.
|
String |
getProcedureTaskId()
Get The task ID for the task type `Procedure`.
|
String |
getReviewAudioVideoTaskId()
Get The task ID for the task type `ReviewAudioVideo`.
|
void |
setFileId(String FileId)
Set Unique file ID.
|
void |
setMediaBasicInfo(MediaBasicInfo MediaBasicInfo)
Set Basic information of media file generated after upload is completed.
|
void |
setMetaData(MediaMetaData MetaData)
Set Metadata, such as size, duration, video stream information, audio stream information, etc.
|
void |
setProcedureTaskId(String ProcedureTaskId)
Set The task ID for the task type `Procedure`.
|
void |
setReviewAudioVideoTaskId(String ReviewAudioVideoTaskId)
Set The task ID for the task type `ReviewAudioVideo`.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public FileUploadTask()
public FileUploadTask(FileUploadTask source)
public String getFileId()
public void setFileId(String FileId)
FileId
- Unique file ID.public MediaBasicInfo getMediaBasicInfo()
public void setMediaBasicInfo(MediaBasicInfo MediaBasicInfo)
MediaBasicInfo
- Basic information of media file generated after upload is completed.public String getProcedureTaskId()
public void setProcedureTaskId(String ProcedureTaskId)
ProcedureTaskId
- The task ID for the task type `Procedure`. If a task flow is specified for [uploaded media](https://intl.cloud.tencent.com/document/product/266/33475?from_cn_redirect=1#.E4.BB.BB.E5.8A.A1.E5.8F.91.E8.B5.B7), and the task flow includes one or more of `MediaProcessTask`, `AiAnalysisTask`, and `AiRecognitionTask`, the task specified by this parameter will be executed.public String getReviewAudioVideoTaskId()
public void setReviewAudioVideoTaskId(String ReviewAudioVideoTaskId)
ReviewAudioVideoTaskId
- The task ID for the task type `ReviewAudioVideo`. If a task flow is specified for [uploaded media](https://intl.cloud.tencent.com/document/product/266/33475?from_cn_redirect=1#.E4.BB.BB.E5.8A.A1.E5.8F.91.E8.B5.B7), and the task flow includes `ReviewAudioVideoTask`, the task specified by this parameter will be executed.public MediaMetaData getMetaData()
public void setMetaData(MediaMetaData MetaData)
MetaData
- Metadata, such as size, duration, video stream information, audio stream information, etc.
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2024. All rights reserved.