public class CreateWordSamplesRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
CreateWordSamplesRequest()  | 
CreateWordSamplesRequest(CreateWordSamplesRequest 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 | 
getSubAppId()
Get The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. 
 | 
String[] | 
getUsages()
Get Keyword usage. 
 | 
AiSampleWordInfo[] | 
getWords()
Get Keyword. 
 | 
void | 
setSubAppId(Long SubAppId)
Set The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. 
 | 
void | 
setUsages(String[] Usages)
Set Keyword usage. 
 | 
void | 
setWords(AiSampleWordInfo[] Words)
Set Keyword. 
 | 
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 CreateWordSamplesRequest()
public CreateWordSamplesRequest(CreateWordSamplesRequest source)
public String[] getUsages()
public void setUsages(String[] Usages)
Usages - Keyword usage. Valid values:
1. Recognition.Ocr: OCR-based content recognition
2. Recognition.Asr: ASR-based content recognition
3. Review.Ocr: OCR-based inappropriate information recognition
4. Review.Asr: ASR-based inappropriate information recognition
Valid values can also be:
5. Recognition: ASR- and OCR-based content recognition; equivalent to 1+2
6. Review: ASR- and OCR-based inappropriate information recognition; equivalent to 3+4
7. All: ASR- and OCR-based content recognition and inappropriate information recognition; equivalent to 1+2+3+4public AiSampleWordInfo[] getWords()
public void setWords(AiSampleWordInfo[] Words)
Words - Keyword. Array length limit: 100.public Long getSubAppId()
public void setSubAppId(Long SubAppId)
SubAppId - The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.Copyright © 2025. All rights reserved.