public class EditMediaRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
EditMediaRequest() |
EditMediaRequest(EditMediaRequest 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 |
---|---|
ComposeMediaConfig |
getComposeConfig()
Get The settings for a video compositing task.
|
EditMediaFileInfo[] |
getFileInfos()
Get Information of input video file.
|
EditMediaOutputConfig |
getOutputConfig()
Get The output settings for a video clipping task.
|
String |
getOutputObjectPath()
Get The path to save the media processing output file.
|
TaskOutputStorage |
getOutputStorage()
Get The storage location of the media processing output file.
|
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 task.
|
Long |
getTasksPriority()
Get Task priority.
|
void |
setComposeConfig(ComposeMediaConfig ComposeConfig)
Set The settings for a video compositing task.
|
void |
setFileInfos(EditMediaFileInfo[] FileInfos)
Set Information of input video file.
|
void |
setOutputConfig(EditMediaOutputConfig OutputConfig)
Set The output settings for a video clipping task.
|
void |
setOutputObjectPath(String OutputObjectPath)
Set The path to save the media processing output file.
|
void |
setOutputStorage(TaskOutputStorage OutputStorage)
Set The storage location of the media processing output file.
|
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 task.
|
void |
setTasksPriority(Long TasksPriority)
Set Task priority.
|
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 EditMediaRequest()
public EditMediaRequest(EditMediaRequest source)
public EditMediaFileInfo[] getFileInfos()
public void setFileInfos(EditMediaFileInfo[] FileInfos)
FileInfos
- Information of input video file.public TaskOutputStorage getOutputStorage()
public void setOutputStorage(TaskOutputStorage OutputStorage)
OutputStorage
- The storage location of the media processing output file.public String getOutputObjectPath()
public void setOutputObjectPath(String OutputObjectPath)
OutputObjectPath
- The path to save the media processing output file.
Note: For complex compositing tasks, the filename can be up to 64 characters long and can only contain digits, letters, and special characters -_public EditMediaOutputConfig getOutputConfig()
public void setOutputConfig(EditMediaOutputConfig OutputConfig)
OutputConfig
- The output settings for a video clipping task.public ComposeMediaConfig getComposeConfig()
public void setComposeConfig(ComposeMediaConfig ComposeConfig)
ComposeConfig
- The settings for a video compositing task.
Note: If this parameter is not empty, the task is a video compositing task. Otherwise, the task is a video clipping task.public TaskNotifyConfig getTaskNotifyConfig()
public void setTaskNotifyConfig(TaskNotifyConfig TaskNotifyConfig)
TaskNotifyConfig
- Event notification information of task. If this parameter is left empty, no event notifications will be obtained.public Long getTasksPriority()
public void setTasksPriority(Long TasksPriority)
TasksPriority
- Task 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.Copyright © 2024. All rights reserved.