Class UserKeyword
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cms.v20190321.models.UserKeyword
-
public class UserKeyword extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContent()Get 关键词内容:最多40个字符,并且符合词类型的规则StringgetLabel()Get 关键词类型,取值范围为:"Normal","Polity","Porn","Ad","Illegal","Abuse","Terror","Spam"StringgetRemark()Get 关键词备注:最多100个字符。StringgetWordType()Get 词类型:Default,Pinyin,English,CompoundWord,ExclusionWord,AffixWordvoidsetContent(String Content)Set 关键词内容:最多40个字符,并且符合词类型的规则voidsetLabel(String Label)Set 关键词类型,取值范围为:"Normal","Polity","Porn","Ad","Illegal","Abuse","Terror","Spam"voidsetRemark(String Remark)Set 关键词备注:最多100个字符。voidsetWordType(String WordType)Set 词类型:Default,Pinyin,English,CompoundWord,ExclusionWord,AffixWordvoidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
UserKeyword
public UserKeyword()
-
UserKeyword
public 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.
-
-
Method Detail
-
getContent
public String getContent()
Get 关键词内容:最多40个字符,并且符合词类型的规则- Returns:
- Content 关键词内容:最多40个字符,并且符合词类型的规则
-
setContent
public void setContent(String Content)
Set 关键词内容:最多40个字符,并且符合词类型的规则- Parameters:
Content- 关键词内容:最多40个字符,并且符合词类型的规则
-
getLabel
public String getLabel()
Get 关键词类型,取值范围为:"Normal","Polity","Porn","Ad","Illegal","Abuse","Terror","Spam"- Returns:
- Label 关键词类型,取值范围为:"Normal","Polity","Porn","Ad","Illegal","Abuse","Terror","Spam"
-
setLabel
public void setLabel(String Label)
Set 关键词类型,取值范围为:"Normal","Polity","Porn","Ad","Illegal","Abuse","Terror","Spam"- Parameters:
Label- 关键词类型,取值范围为:"Normal","Polity","Porn","Ad","Illegal","Abuse","Terror","Spam"
-
getRemark
public String getRemark()
Get 关键词备注:最多100个字符。- Returns:
- Remark 关键词备注:最多100个字符。
-
setRemark
public void setRemark(String Remark)
Set 关键词备注:最多100个字符。- Parameters:
Remark- 关键词备注:最多100个字符。
-
getWordType
public String getWordType()
Get 词类型:Default,Pinyin,English,CompoundWord,ExclusionWord,AffixWord- Returns:
- WordType 词类型:Default,Pinyin,English,CompoundWord,ExclusionWord,AffixWord
-
setWordType
public void setWordType(String WordType)
Set 词类型:Default,Pinyin,English,CompoundWord,ExclusionWord,AffixWord- Parameters:
WordType- 词类型:Default,Pinyin,English,CompoundWord,ExclusionWord,AffixWord
-
-