public class UserKeyword extends AbstractModel
header, skipSign
Constructor and Description |
---|
UserKeyword() |
UserKeyword(UserKeyword 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 关键词内容:最多40个字符,并且符合词类型的规则
|
String |
getLabel()
Get 关键词类型,取值范围为:"Normal","Polity","Porn","Ad","Illegal","Abuse","Terror","Spam"
|
String |
getRemark()
Get 关键词备注:最多100个字符。
|
String |
getWordType()
Get 词类型:Default,Pinyin,English,CompoundWord,ExclusionWord,AffixWord
|
void |
setContent(String Content)
Set 关键词内容:最多40个字符,并且符合词类型的规则
|
void |
setLabel(String Label)
Set 关键词类型,取值范围为:"Normal","Polity","Porn","Ad","Illegal","Abuse","Terror","Spam"
|
void |
setRemark(String Remark)
Set 关键词备注:最多100个字符。
|
void |
setWordType(String WordType)
Set 词类型:Default,Pinyin,English,CompoundWord,ExclusionWord,AffixWord
|
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, toJsonString
public UserKeyword()
public UserKeyword(UserKeyword source)
public String getContent()
public void setContent(String Content)
Content
- 关键词内容:最多40个字符,并且符合词类型的规则public String getLabel()
public void setLabel(String Label)
Label
- 关键词类型,取值范围为:"Normal","Polity","Porn","Ad","Illegal","Abuse","Terror","Spam"public String getRemark()
public void setRemark(String Remark)
Remark
- 关键词备注:最多100个字符。public String getWordType()
public void setWordType(String WordType)
WordType
- 词类型:Default,Pinyin,English,CompoundWord,ExclusionWord,AffixWordCopyright © 2024. All rights reserved.