public class ModifyAsrHotwordsRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
ModifyAsrHotwordsRequest()  | 
ModifyAsrHotwordsRequest(ModifyAsrHotwordsRequest 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 | 
|---|---|
String | 
getContent()
Get Hotword lexicon text. 
 | 
String | 
getFileContent()
Get Base64-encoded content of the hotword file. 
 | 
String | 
getFileName()
Get Name of the uploaded hotword file. 
 | 
String | 
getHotwordsId()
Get Hotword lexicon ID. 
 | 
String | 
getName()
Get Hotword lexicon name. 
 | 
void | 
setContent(String Content)
Set Hotword lexicon text. 
 | 
void | 
setFileContent(String FileContent)
Set Base64-encoded content of the hotword file. 
 | 
void | 
setFileName(String FileName)
Set Name of the uploaded hotword file. 
 | 
void | 
setHotwordsId(String HotwordsId)
Set Hotword lexicon ID. 
 | 
void | 
setName(String Name)
Set Hotword lexicon name. 
 | 
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 ModifyAsrHotwordsRequest()
public ModifyAsrHotwordsRequest(ModifyAsrHotwordsRequest source)
public String getHotwordsId()
public void setHotwordsId(String HotwordsId)
HotwordsId - Hotword lexicon ID. 
 
Either Name or Content should be specified if the hotword lexicon is a temporary hotword lexicon.
Either Name, FileContent, or FileName should be specified if the hotword lexicon is a file-based hotword lexicon.public String getName()
public void setName(String Name)
Name - Hotword lexicon name.public String getContent()
public void setContent(String Content)
Content - Hotword lexicon text.public String getFileContent()
public void setFileContent(String FileContent)
FileContent - Base64-encoded content of the hotword file. This field is required if Type is set to 1.public String getFileName()
public void setFileName(String FileName)
FileName - Name of the uploaded hotword file.Copyright © 2025. All rights reserved.