public class CreateTextSampleRequest extends AbstractModel
Constructor and Description |
---|
CreateTextSampleRequest() |
CreateTextSampleRequest(CreateTextSampleRequest 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[] |
getContents()
Get 关键词数组
|
Long |
getEvilType()
Get 恶意类型
100:正常
20001:政治
20002:色情
20006:涉毒违法
20007:谩骂
24001:暴恐
20105:广告引流
|
Long |
getLabel()
Get 样本类型
1:黑库
2:白库
|
String |
getTest()
Get 测试修改参数
|
void |
setContents(String[] Contents)
Set 关键词数组
|
void |
setEvilType(Long EvilType)
Set 恶意类型
100:正常
20001:政治
20002:色情
20006:涉毒违法
20007:谩骂
24001:暴恐
20105:广告引流
|
void |
setLabel(Long Label)
Set 样本类型
1:黑库
2:白库
|
void |
setTest(String Test)
Set 测试修改参数
|
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 CreateTextSampleRequest()
public CreateTextSampleRequest(CreateTextSampleRequest source)
public String[] getContents()
public void setContents(String[] Contents)
Contents
- 关键词数组public Long getEvilType()
public void setEvilType(Long EvilType)
EvilType
- 恶意类型
100:正常
20001:政治
20002:色情
20006:涉毒违法
20007:谩骂
24001:暴恐
20105:广告引流public Long getLabel()
public void setLabel(Long Label)
Label
- 样本类型
1:黑库
2:白库public String getTest()
public void setTest(String Test)
Test
- 测试修改参数Copyright © 2022. All rights reserved.