public class CreateAsrHotwordsRequest extends AbstractModel
header, skipSign| Constructor and Description |
|---|
CreateAsrHotwordsRequest() |
CreateAsrHotwordsRequest(CreateAsrHotwordsRequest 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 file.
|
String |
getName()
Get Hotword lexicon name.
|
Long |
getType()
Get 0: temporary hotword; 1 file-based hotword.
|
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 file.
|
void |
setName(String Name)
Set Hotword lexicon name.
|
void |
setType(Long Type)
Set 0: temporary hotword; 1 file-based hotword.
|
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 CreateAsrHotwordsRequest()
public CreateAsrHotwordsRequest(CreateAsrHotwordsRequest source)
public Long getType()
public void setType(Long Type)
Type - 0: temporary hotword; 1 file-based hotword.public String getName()
public void setName(String Name)
Name - Hotword lexicon name.public String getContent()
public void setContent(String Content)
Content - Hotword lexicon text. This field is required if Type is set to 0.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 file.Copyright © 2025. All rights reserved.