public class AddOnSubtitle extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
AddOnSubtitle()  | 
AddOnSubtitle(AddOnSubtitle 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 | 
|---|---|
Boolean | 
getDefaultTrack()
Get Default subtitle track. 
 | 
String | 
getOutputFormat()
Get Output format of the subtitle. 
 | 
MediaInputInfo | 
getSubtitle()
Get The subtitle file. 
 | 
String | 
getSubtitleName()
Get Subtitle name. 
 | 
String | 
getType()
Get The mode. 
 | 
void | 
setDefaultTrack(Boolean DefaultTrack)
Set Default subtitle track. 
 | 
void | 
setOutputFormat(String OutputFormat)
Set Output format of the subtitle. 
 | 
void | 
setSubtitle(MediaInputInfo Subtitle)
Set The subtitle file. 
 | 
void | 
setSubtitleName(String SubtitleName)
Set Subtitle name. 
 | 
void | 
setType(String Type)
Set The mode. 
 | 
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, toJsonStringpublic AddOnSubtitle()
public AddOnSubtitle(AddOnSubtitle source)
public String getType()
public void setType(String Type)
Type - The mode. Valid values:
public MediaInputInfo getSubtitle()
public void setSubtitle(MediaInputInfo Subtitle)
Subtitle - The subtitle file.
Note: This field may return null, indicating that no valid values can be obtained.public String getSubtitleName()
public void setSubtitleName(String SubtitleName)
SubtitleName - Subtitle name.
Note: supports Chinese characters, letters, digits, spaces, underscores (_), hyphens (-), periods (.), and parentheses. Max 64 characters.
Note: This field may return null, indicating that no valid value can be obtained.public String getOutputFormat()
public void setOutputFormat(String OutputFormat)
OutputFormat - Output format of the subtitle. valid values: "WebVTT", "TTML".
Default value: "WebVTT".public Boolean getDefaultTrack()
public void setDefaultTrack(Boolean DefaultTrack)
DefaultTrack - Default subtitle track. specifies the current subtitle as the default track when true. a maximum of 1 default subtitle track can be specified.
Default value: `false`.Copyright © 2025. All rights reserved.