public class SmartSubtitlesTaskInput extends AbstractModel
header, skipSign
Constructor and Description |
---|
SmartSubtitlesTaskInput() |
SmartSubtitlesTaskInput(SmartSubtitlesTaskInput 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 Smart subtitle template ID.
|
String |
getOutputObjectPath()
Get Output path of the generated subtitle file, which can be a relative or absolute path.
|
TaskOutputStorage |
getOutputStorage()
Get Bucket that stores the output file.
|
RawSmartSubtitleParameter |
getRawParameter()
Get Custom smart subtitle parameter.
|
String |
getUserExtPara()
Get User extension field, which does not need to be filled in for general scenarios.
|
void |
setDefinition(Long Definition)
Set Smart subtitle template ID.
|
void |
setOutputObjectPath(String OutputObjectPath)
Set Output path of the generated subtitle file, which can be a relative or absolute path.
|
void |
setOutputStorage(TaskOutputStorage OutputStorage)
Set Bucket that stores the output file.
|
void |
setRawParameter(RawSmartSubtitleParameter RawParameter)
Set Custom smart subtitle parameter.
|
void |
setUserExtPara(String UserExtPara)
Set User extension field, which does not need to be filled in for general scenarios.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public SmartSubtitlesTaskInput()
public SmartSubtitlesTaskInput(SmartSubtitlesTaskInput source)
public Long getDefinition()
public void setDefinition(Long Definition)
Definition
- Smart subtitle template ID.public String getUserExtPara()
public void setUserExtPara(String UserExtPara)
UserExtPara
- User extension field, which does not need to be filled in for general scenarios.public RawSmartSubtitleParameter getRawParameter()
public void setRawParameter(RawSmartSubtitleParameter RawParameter)
RawParameter
- Custom smart subtitle parameter. It takes effect when Definition is set to 0. This parameter is used in high customization scenarios. It is recommended that you preferentially use Definition to specify smart subtitle parameters.
Note: This field may return null, indicating that no valid value can be obtained.public TaskOutputStorage getOutputStorage()
public void setOutputStorage(TaskOutputStorage OutputStorage)
OutputStorage
- Bucket that stores the output file. If it is left unspecified, the storage location in InputInfo will be inherited.
Note**: This parameter is required when InputInfo.Type is set to URL.
Note: This field may return null, indicating that no valid value can be obtained.public String getOutputObjectPath()
public void setOutputObjectPath(String OutputObjectPath)
OutputObjectPath
- Output path of the generated subtitle file, which can be a relative or absolute path.
To define the output path, end the path with .{format}. For variable names, see the description of file name variables at https://www.tencentcloud.comom/document/product/862/37039.?from_cn_redirect=1
Relative path example:
- File name_{variable name}.{format}.
- File name.{format}.
Absolute path example:
-/Custom path/File name_{variable name}.{format}.
If this field is left unspecified, the default value is the relative path in the following format: {inputName}_smartsubtitle_{definition}.{format}.Copyright © 2025. All rights reserved.