public class DescribeWordSamplesRequest extends AbstractModel
Constructor and Description |
---|
DescribeWordSamplesRequest() |
DescribeWordSamplesRequest(DescribeWordSamplesRequest 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[] |
getKeywords()
Get Keyword filter.
|
Long |
getLimit()
Get Number of entries to be returned.
|
Long |
getOffset()
Get Pagination offset.
|
Long |
getSubAppId()
Get [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD.
|
String[] |
getTags()
Get Tag filter.
|
String[] |
getUsages()
Get Keyword usage.
|
void |
setKeywords(String[] Keywords)
Set Keyword filter.
|
void |
setLimit(Long Limit)
Set Number of entries to be returned.
|
void |
setOffset(Long Offset)
Set Pagination offset.
|
void |
setSubAppId(Long SubAppId)
Set [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD.
|
void |
setTags(String[] Tags)
Set Tag filter.
|
void |
setUsages(String[] Usages)
Set Keyword usage.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public DescribeWordSamplesRequest()
public DescribeWordSamplesRequest(DescribeWordSamplesRequest 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
You can select multiple elements, which are connected by OR logic. If a use case contains any element in this parameter, the keyword sample will be used.public String[] getKeywords()
public void setKeywords(String[] Keywords)
Keywords
- Keyword filter. Array length limit: 100 words.public String[] getTags()
public void setTags(String[] Tags)
Tags
- Tag filter. Array length limit: 20 words.public Long getOffset()
public void setOffset(Long Offset)
Offset
- Pagination offset. Default value: 0.public Long getLimit()
public void setLimit(Long Limit)
Limit
- Number of entries to be returned. Default value: 100. Maximum value: 100.public Long getSubAppId()
public void setSubAppId(Long SubAppId)
SubAppId
- [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.Copyright © 2022. All rights reserved.