public class BatchProcessMediaRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
BatchProcessMediaRequest() |
BatchProcessMediaRequest(BatchProcessMediaRequest 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 |
---|---|
MediaInputInfo[] |
getInputInfo()
Get Path of the input file.
|
String |
getOutputDir()
Get Storage directory for the output file.
|
TaskOutputStorage |
getOutputStorage()
Get Storage bucket for the output file.
|
String |
getResourceId()
Get Resource ID.
|
String |
getSessionContext()
Get Source context, which is used to pass through the user request information.
|
Long |
getSkipMateData()
Get Whether to skip metadata acquisition.
|
SmartSubtitlesTaskInput |
getSmartSubtitlesTask()
Get Smart subtitle.
|
TaskNotifyConfig |
getTaskNotifyConfig()
Get Event notification information of the task.
|
Long |
getTasksPriority()
Get Priority of the task flow.
|
void |
setInputInfo(MediaInputInfo[] InputInfo)
Set Path of the input file.
|
void |
setOutputDir(String OutputDir)
Set Storage directory for the output file.
|
void |
setOutputStorage(TaskOutputStorage OutputStorage)
Set Storage bucket for the output file.
|
void |
setResourceId(String ResourceId)
Set Resource ID.
|
void |
setSessionContext(String SessionContext)
Set Source context, which is used to pass through the user request information.
|
void |
setSkipMateData(Long SkipMateData)
Set Whether to skip metadata acquisition.
|
void |
setSmartSubtitlesTask(SmartSubtitlesTaskInput SmartSubtitlesTask)
Set Smart subtitle.
|
void |
setTaskNotifyConfig(TaskNotifyConfig TaskNotifyConfig)
Set Event notification information of the task.
|
void |
setTasksPriority(Long TasksPriority)
Set Priority of the task flow.
|
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 BatchProcessMediaRequest()
public BatchProcessMediaRequest(BatchProcessMediaRequest source)
public MediaInputInfo[] getInputInfo()
public void setInputInfo(MediaInputInfo[] InputInfo)
InputInfo
- Path of the input file.public TaskOutputStorage getOutputStorage()
public void setOutputStorage(TaskOutputStorage OutputStorage)
OutputStorage
- Storage bucket for the output file. If it is left blank, the storage location in InputInfo will be inherited.
Note: When InputInfo.Type is URL, this parameter is required.public String getOutputDir()
public void setOutputDir(String OutputDir)
OutputDir
- Storage directory for the output file. It should start and end with a slash (/), such as `/movie/201907/`.
If left blank, it indicates that the directory is the same as the one where the file is located in InputInfo.public SmartSubtitlesTaskInput getSmartSubtitlesTask()
public void setSmartSubtitlesTask(SmartSubtitlesTaskInput SmartSubtitlesTask)
SmartSubtitlesTask
- Smart subtitle.public TaskNotifyConfig getTaskNotifyConfig()
public void setTaskNotifyConfig(TaskNotifyConfig TaskNotifyConfig)
TaskNotifyConfig
- Event notification information of the task. If left blank, it indicates that no event notification will be obtained.public Long getTasksPriority()
public void setTasksPriority(Long TasksPriority)
TasksPriority
- Priority of the task flow. The higher the value, the higher the priority. The value range is from -10 to 10. If left blank, the default value is 0.public String getSessionContext()
public void setSessionContext(String SessionContext)
SessionContext
- Source context, which is used to pass through the user request information. The callback for task flow status changes will return the value of this field. The maximum length is 1,000 characters.public String getResourceId()
public void setResourceId(String ResourceId)
ResourceId
- Resource ID. Ensure the corresponding resource is in the enabled state. The default value is an account's primary resource ID.public Long getSkipMateData()
public void setSkipMateData(Long SkipMateData)
SkipMateData
- Whether to skip metadata acquisition. Valid values:
0: do not skip.
1: skip.
Default value: 0Copyright © 2025. All rights reserved.