public class EditMediaRequest extends AbstractModel
| 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 Editing template ID.
|
String |
getExtInfo()
Get Reserved field for special purposes.
|
EditMediaFileInfo[] |
getFileInfos()
Get Information of input video file, which is required if `InputType` is `File`.
|
String |
getInputType()
Get Input video type.
|
EditMediaOutputConfig |
getOutputConfig()
Get Configuration of file generated after editing.
|
String |
getProcedureName()
Get [Task flow template](https://intl.cloud.tencent.com/document/product/266/11700?from_cn_redirect=1#.E4.BB.BB.E5.8A.A1.E6.B5.81.E6.A8.A1.E6.9D.BF) name, which should be entered if you want to perform a task flow on the generated new video.
|
String |
getSessionContext()
Get Identifies the source context which is used to pass through the user request information.
|
String |
getSessionId()
Get Used to identify duplicate requests.
|
EditMediaStreamInfo[] |
getStreamInfos()
Get Input stream information, which is required if `InputType` is `Stream`.
|
Long |
getSubAppId()
Get [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD.
|
Long |
getTasksPriority()
Get Task priority.
|
void |
setDefinition(Long Definition)
Set Editing template ID.
|
void |
setExtInfo(String ExtInfo)
Set Reserved field for special purposes.
|
void |
setFileInfos(EditMediaFileInfo[] FileInfos)
Set Information of input video file, which is required if `InputType` is `File`.
|
void |
setInputType(String InputType)
Set Input video type.
|
void |
setOutputConfig(EditMediaOutputConfig OutputConfig)
Set Configuration of file generated after editing.
|
void |
setProcedureName(String ProcedureName)
Set [Task flow template](https://intl.cloud.tencent.com/document/product/266/11700?from_cn_redirect=1#.E4.BB.BB.E5.8A.A1.E6.B5.81.E6.A8.A1.E6.9D.BF) name, which should be entered if you want to perform a task flow on the generated new video.
|
void |
setSessionContext(String SessionContext)
Set Identifies the source context which is used to pass through the user request information.
|
void |
setSessionId(String SessionId)
Set Used to identify duplicate requests.
|
void |
setStreamInfos(EditMediaStreamInfo[] StreamInfos)
Set Input stream information, which is required if `InputType` is `Stream`.
|
void |
setSubAppId(Long SubAppId)
Set [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD.
|
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic EditMediaRequest()
public EditMediaRequest(EditMediaRequest source)
public String getInputType()
public void setInputType(String InputType)
InputType - Input video type. Valid values: File, Stream.public EditMediaFileInfo[] getFileInfos()
public void setFileInfos(EditMediaFileInfo[] FileInfos)
FileInfos - Information of input video file, which is required if `InputType` is `File`.public EditMediaStreamInfo[] getStreamInfos()
public void setStreamInfos(EditMediaStreamInfo[] StreamInfos)
StreamInfos - Input stream information, which is required if `InputType` is `Stream`.public Long getDefinition()
public void setDefinition(Long Definition)
Definition - Editing template ID. Valid values: 10, 20. If this parameter is left empty, template 10 will be used.
public String getProcedureName()
public void setProcedureName(String ProcedureName)
ProcedureName - [Task flow template](https://intl.cloud.tencent.com/document/product/266/11700?from_cn_redirect=1#.E4.BB.BB.E5.8A.A1.E6.B5.81.E6.A8.A1.E6.9D.BF) name, which should be entered if you want to perform a task flow on the generated new video.public EditMediaOutputConfig getOutputConfig()
public void setOutputConfig(EditMediaOutputConfig OutputConfig)
OutputConfig - Configuration of file generated after editing.public String getSessionContext()
public void setSessionContext(String SessionContext)
SessionContext - Identifies the source context which is used to pass through the user request information. The `EditMediaComplete` callback and task flow status change callback will return the value of this field. It can contain up to 1,000 characters.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 - Used to identify duplicate requests. After you send a request, if any request with the same `SessionId` has already been sent in the last three days (72 hours), an error message will be returned. `SessionId` contains up to 50 characters. If this parameter is not carried or is an empty string, no deduplication will be performed.public String getExtInfo()
public void setExtInfo(String ExtInfo)
ExtInfo - Reserved field for special purposes.public Long getSubAppId()
public void setSubAppId(Long SubAppId)
SubAppId - [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.Copyright © 2021. All rights reserved.