public class ProcessMediaRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ProcessMediaRequest() |
ProcessMediaRequest(ProcessMediaRequest 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 |
---|---|
AiAnalysisTaskInput |
getAiAnalysisTask()
Get Video content analysis task parameter.
|
AiContentReviewTaskInput |
getAiContentReviewTask()
Get Type parameter of a video content audit task.
|
AiQualityControlTaskInput |
getAiQualityControlTask()
Get The parameters of a quality control task.
|
AiRecognitionTaskInput |
getAiRecognitionTask()
Get Type parameter of a video content recognition task.
|
MediaInputInfo |
getInputInfo()
Get The information of the file to process.
|
MediaProcessTaskInput |
getMediaProcessTask()
Get The media processing parameters to use.
|
String |
getOutputDir()
Get The directory to save the media processing output file, which must start and end with `/`, such as `/movie/201907/`.
|
TaskOutputStorage |
getOutputStorage()
Get The storage location of the media processing output file.
|
Long |
getScheduleId()
Get The scheme ID.
|
String |
getSessionContext()
Get The source context which is used to pass through the user request information.
|
String |
getSessionId()
Get The ID used for deduplication.
|
TaskNotifyConfig |
getTaskNotifyConfig()
Get Event notification information of a task.
|
Long |
getTasksPriority()
Get Task flow priority.
|
String |
getTaskType()
Get The task type.
|
void |
setAiAnalysisTask(AiAnalysisTaskInput AiAnalysisTask)
Set Video content analysis task parameter.
|
void |
setAiContentReviewTask(AiContentReviewTaskInput AiContentReviewTask)
Set Type parameter of a video content audit task.
|
void |
setAiQualityControlTask(AiQualityControlTaskInput AiQualityControlTask)
Set The parameters of a quality control task.
|
void |
setAiRecognitionTask(AiRecognitionTaskInput AiRecognitionTask)
Set Type parameter of a video content recognition task.
|
void |
setInputInfo(MediaInputInfo InputInfo)
Set The information of the file to process.
|
void |
setMediaProcessTask(MediaProcessTaskInput MediaProcessTask)
Set The media processing parameters to use.
|
void |
setOutputDir(String OutputDir)
Set The directory to save the media processing output file, which must start and end with `/`, such as `/movie/201907/`.
|
void |
setOutputStorage(TaskOutputStorage OutputStorage)
Set The storage location of the media processing output file.
|
void |
setScheduleId(Long ScheduleId)
Set The scheme ID.
|
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 |
setTaskNotifyConfig(TaskNotifyConfig TaskNotifyConfig)
Set Event notification information of a task.
|
void |
setTasksPriority(Long TasksPriority)
Set Task flow priority.
|
void |
setTaskType(String TaskType)
Set The task type.
|
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 ProcessMediaRequest()
public ProcessMediaRequest(ProcessMediaRequest source)
public MediaInputInfo getInputInfo()
public void setInputInfo(MediaInputInfo InputInfo)
InputInfo
- The information of the file to process.public TaskOutputStorage getOutputStorage()
public void setOutputStorage(TaskOutputStorage OutputStorage)
OutputStorage
- The storage location of the media processing output file. If this parameter is left empty, the storage location in `InputInfo` will be inherited.public String getOutputDir()
public void setOutputDir(String OutputDir)
OutputDir
- The directory to save the media processing output file, which must start and end with `/`, such as `/movie/201907/`.
If you do not specify this parameter, the file will be saved to the directory specified in `InputInfo`.public Long getScheduleId()
public void setScheduleId(Long ScheduleId)
ScheduleId
- The scheme ID.
Note 1: About `OutputStorage` and `OutputDir`
public MediaProcessTaskInput getMediaProcessTask()
public void setMediaProcessTask(MediaProcessTaskInput MediaProcessTask)
MediaProcessTask
- The media processing parameters to use.public AiContentReviewTaskInput getAiContentReviewTask()
public void setAiContentReviewTask(AiContentReviewTaskInput AiContentReviewTask)
AiContentReviewTask
- Type parameter of a video content audit task.public AiAnalysisTaskInput getAiAnalysisTask()
public void setAiAnalysisTask(AiAnalysisTaskInput AiAnalysisTask)
AiAnalysisTask
- Video content analysis task parameter.public AiRecognitionTaskInput getAiRecognitionTask()
public void setAiRecognitionTask(AiRecognitionTaskInput AiRecognitionTask)
AiRecognitionTask
- Type parameter of a video content recognition task.public AiQualityControlTaskInput getAiQualityControlTask()
public void setAiQualityControlTask(AiQualityControlTaskInput AiQualityControlTask)
AiQualityControlTask
- The parameters of a quality control task.public TaskNotifyConfig getTaskNotifyConfig()
public void setTaskNotifyConfig(TaskNotifyConfig TaskNotifyConfig)
TaskNotifyConfig
- Event notification information of a task. If this parameter is left empty, no event notifications will be obtained.public Long getTasksPriority()
public void setTasksPriority(Long TasksPriority)
TasksPriority
- Task flow priority. The higher the value, the higher the priority. Value range: [-10, 10]. If this parameter is left empty, 0 will be used.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 three days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or an empty string is entered, no deduplication will be performed.public String getSessionContext()
public void setSessionContext(String SessionContext)
SessionContext
- The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters.public String getTaskType()
public void setTaskType(String TaskType)
TaskType
- The task type.
Copyright © 2024. All rights reserved.