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 |
---|---|
Long |
getDefinition()
Get EditMedia template ID.
|
String |
getExtInfo()
Get Reserved fields, used for special purposes.
|
EditMediaFileInfo[] |
getFileInfos()
Get Input video file information, required when InputType is File.
|
String |
getInputType()
Get Input the type of video.
|
EditMediaOutputConfig |
getOutputConfig()
Get The file configuration generated after editing.
|
String |
getProcedureName()
Get Task flow template name, if you want Fill in when executing the task flow on the generated new video.
|
String |
getSessionContext()
Get Identifies the source context, which is used to transparently transmit user request information.
|
String |
getSessionId()
Get The identification code used for task deduplication.
|
EditMediaStreamInfo[] |
getStreamInfos()
Get nput stream information, required when InputType is Stream.
|
Long |
getSubAppId()
Get The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID.
|
Long |
getTasksPriority()
Get The priority of the task.
|
void |
setDefinition(Long Definition)
Set EditMedia template ID.
|
void |
setExtInfo(String ExtInfo)
Set Reserved fields, used for special purposes.
|
void |
setFileInfos(EditMediaFileInfo[] FileInfos)
Set Input video file information, required when InputType is File.
|
void |
setInputType(String InputType)
Set Input the type of video.
|
void |
setOutputConfig(EditMediaOutputConfig OutputConfig)
Set The file configuration generated after editing.
|
void |
setProcedureName(String ProcedureName)
Set Task flow template name, if you want Fill in when executing the task flow on the generated new video.
|
void |
setSessionContext(String SessionContext)
Set Identifies the source context, which is used to transparently transmit user request information.
|
void |
setSessionId(String SessionId)
Set The identification code used for task deduplication.
|
void |
setStreamInfos(EditMediaStreamInfo[] StreamInfos)
Set nput stream information, required when InputType is Stream.
|
void |
setSubAppId(Long SubAppId)
Set The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID.
|
void |
setTasksPriority(Long TasksPriority)
Set The priority of the task.
|
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 String getInputType()
public void setInputType(String InputType)
InputType
- Input the type of video. The possible values u200bu200bare File and Stream.public Long getSubAppId()
public void setSubAppId(Long SubAppId)
SubAppId
- The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.public EditMediaFileInfo[] getFileInfos()
public void setFileInfos(EditMediaFileInfo[] FileInfos)
FileInfos
- Input video file information, required when InputType is File.public EditMediaStreamInfo[] getStreamInfos()
public void setStreamInfos(EditMediaStreamInfo[] StreamInfos)
StreamInfos
- nput stream information, required when InputType is Stream.public Long getDefinition()
public void setDefinition(Long Definition)
Definition
- EditMedia template ID. The values u200bu200bare 10 and 20. If left blank, the 10 template is used.
public String getProcedureName()
public void setProcedureName(String ProcedureName)
ProcedureName
- Task flow template name, if you want Fill in when executing the task flow on the generated new video.public EditMediaOutputConfig getOutputConfig()
public void setOutputConfig(EditMediaOutputConfig OutputConfig)
OutputConfig
- The file configuration generated after editing.public String getSessionContext()
public void setSessionContext(String SessionContext)
SessionContext
- Identifies the source context, which is used to transparently transmit user request information. This field value will be returned in the EditMediaComplete callback and task flow status change callback, with a maximum length of 1000 characters.public Long getTasksPriority()
public void setTasksPriority(Long TasksPriority)
TasksPriority
- The priority of the task. The larger the value, the higher the priority. The value range is -10 to 10. If left blank, it means 0.public String getSessionId()
public void setSessionId(String SessionId)
SessionId
- The identification code used for task deduplication. If there is a request with the same identification code within three days, this request will return an error. The maximum length is 50 characters, without or with an empty string to indicate no deduplication.public String getExtInfo()
public void setExtInfo(String ExtInfo)
ExtInfo
- Reserved fields, used for special purposes.Copyright © 2024. All rights reserved.