public class ModifySmartSubtitleTemplateRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifySmartSubtitleTemplateRequest() |
ModifySmartSubtitleTemplateRequest(ModifySmartSubtitleTemplateRequest 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 |
---|---|
AsrHotWordsConfigure |
getAsrHotWordsConfigure()
Get ASR hotword lexicon parameter.
|
String |
getComment()
Get Smart subtitle template description.
|
Long |
getDefinition()
Get Unique identifier of the smart subtitle template.
|
String |
getName()
Get Smart subtitle template name.
|
String |
getSubtitleFormat()
Get Intelligent subtitle file format.
|
Long |
getSubtitleType()
Get Smart subtitle language type.
|
String |
getTranslateDstLanguage()
Get Target language for subtitle translation.
|
String |
getTranslateSwitch()
Get Subtitle translation switch.
|
String |
getVideoSrcLanguage()
Get Video source language for intelligent caption.
|
void |
setAsrHotWordsConfigure(AsrHotWordsConfigure AsrHotWordsConfigure)
Set ASR hotword lexicon parameter.
|
void |
setComment(String Comment)
Set Smart subtitle template description.
|
void |
setDefinition(Long Definition)
Set Unique identifier of the smart subtitle template.
|
void |
setName(String Name)
Set Smart subtitle template name.
|
void |
setSubtitleFormat(String SubtitleFormat)
Set Intelligent subtitle file format.
|
void |
setSubtitleType(Long SubtitleType)
Set Smart subtitle language type.
|
void |
setTranslateDstLanguage(String TranslateDstLanguage)
Set Target language for subtitle translation.
|
void |
setTranslateSwitch(String TranslateSwitch)
Set Subtitle translation switch.
|
void |
setVideoSrcLanguage(String VideoSrcLanguage)
Set Video source language for intelligent caption.
|
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 ModifySmartSubtitleTemplateRequest()
public ModifySmartSubtitleTemplateRequest(ModifySmartSubtitleTemplateRequest source)
public Long getDefinition()
public void setDefinition(Long Definition)
Definition
- Unique identifier of the smart subtitle template.public String getTranslateSwitch()
public void setTranslateSwitch(String TranslateSwitch)
TranslateSwitch
- Subtitle translation switch.
ON: enable translation
OFF: disable translationpublic String getName()
public void setName(String Name)
Name
- Smart subtitle template name.
Length limit: 64 characters.public String getComment()
public void setComment(String Comment)
Comment
- Smart subtitle template description.
Length limit: 256 characters.public String getVideoSrcLanguage()
public void setVideoSrcLanguage(String VideoSrcLanguage)
VideoSrcLanguage
- Video source language for intelligent caption.
Valid values:
zh: Simplified Chinese.
en: Eenglish.
Ja: Japanese.
Ko: Korean.
zh-PY: Simplified Chinese, English and Cantonese.
zh-medical: Medical Chinese.
yue: Cantonese.
Vi: Vietnamese.
ms: Malay.
id: Indonesian.
fil: Filipino.
th: Thai.
pt: Portuguese.
tr: Turkish.
ar: Arabic.
es: Spanish.
hi: Hindi
Fr: French.
de: German.
zh-dialect: Chinese dialect
zh_en: Simplified Chinese and English
prime_zh: Simplified Chinese, Chinese Dialect and English.public String getSubtitleFormat()
public void setSubtitleFormat(String SubtitleFormat)
SubtitleFormat
- Intelligent subtitle file format.
vtt: WebVTT format.
srt: SRT format.
If this field is left blank, no subtitle file will be generated.public Long getSubtitleType()
public void setSubtitleType(Long SubtitleType)
SubtitleType
- Smart subtitle language type.
0: source language
1: target language
2: source language + target language
The value can only be 0 when TranslateSwitch is set to OFF. The value can only be 1 or 2 when TranslateSwitch is set to ON.public AsrHotWordsConfigure getAsrHotWordsConfigure()
public void setAsrHotWordsConfigure(AsrHotWordsConfigure AsrHotWordsConfigure)
AsrHotWordsConfigure
- ASR hotword lexicon parameter.public String getTranslateDstLanguage()
public void setTranslateDstLanguage(String TranslateDstLanguage)
TranslateDstLanguage
- Target language for subtitle translation.
This field takes effect when TranslateSwitch is set to ON.
Supported languages:
zh: Simplified Chinese
en: English
ja: Japanese
ko: Korean
fr: French
es: Spanish
it: Italian
de: German
tr: Turkish
ru: Russian
pt: Portuguese
vi: Vietnamese
id: Indonesian
ms: Malay
th: Thai
ar: Arabic
hi: HindiCopyright © 2025. All rights reserved.