Class ClassifyContentRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.nlp.v20190408.models.ClassifyContentRequest
-
public class ClassifyContentRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ClassifyContentRequest()
ClassifyContentRequest(ClassifyContentRequest 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 String[]
getContent()
Get 待分类文章的内容, 每个元素对应一个段落。(仅支持UTF-8格式,文章内容长度总和不超过2000字符)String
getTitle()
Get 待分类的文章的标题(仅支持UTF-8格式,不超过100字符)。void
setContent(String[] Content)
Set 待分类文章的内容, 每个元素对应一个段落。(仅支持UTF-8格式,文章内容长度总和不超过2000字符)void
setTitle(String Title)
Set 待分类的文章的标题(仅支持UTF-8格式,不超过100字符)。void
toMap(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
-
ClassifyContentRequest
public ClassifyContentRequest()
-
ClassifyContentRequest
public ClassifyContentRequest(ClassifyContentRequest 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
-
getTitle
public String getTitle()
Get 待分类的文章的标题(仅支持UTF-8格式,不超过100字符)。- Returns:
- Title 待分类的文章的标题(仅支持UTF-8格式,不超过100字符)。
-
setTitle
public void setTitle(String Title)
Set 待分类的文章的标题(仅支持UTF-8格式,不超过100字符)。- Parameters:
Title
- 待分类的文章的标题(仅支持UTF-8格式,不超过100字符)。
-
getContent
public String[] getContent()
Get 待分类文章的内容, 每个元素对应一个段落。(仅支持UTF-8格式,文章内容长度总和不超过2000字符)- Returns:
- Content 待分类文章的内容, 每个元素对应一个段落。(仅支持UTF-8格式,文章内容长度总和不超过2000字符)
-
setContent
public void setContent(String[] Content)
Set 待分类文章的内容, 每个元素对应一个段落。(仅支持UTF-8格式,文章内容长度总和不超过2000字符)- Parameters:
Content
- 待分类文章的内容, 每个元素对应一个段落。(仅支持UTF-8格式,文章内容长度总和不超过2000字符)
-
-