public class SentimentAnalysis extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| SentimentAnalysis() | 
| SentimentAnalysis(SentimentAnalysis 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 | getCode()Get 响应码,成功为"OK",失败为"InternalError" | 
| SentimentDetail | getDetail()Get 情感分析明细 | 
| String | getLabel()Get 情感标签 | 
| String | getMessage()Get 异常信息 | 
| Long | getScore()Get 标签分数,取值范围0到100 | 
| void | setCode(String Code)Set 响应码,成功为"OK",失败为"InternalError" | 
| void | setDetail(SentimentDetail Detail)Set 情感分析明细 | 
| void | setLabel(String Label)Set 情感标签 | 
| void | setMessage(String Message)Set 异常信息 | 
| void | setScore(Long Score)Set 标签分数,取值范围0到100 | 
| 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, toJsonStringpublic SentimentAnalysis()
public SentimentAnalysis(SentimentAnalysis source)
public String getLabel()
public void setLabel(String Label)
Label - 情感标签public Long getScore()
public void setScore(Long Score)
Score - 标签分数,取值范围0到100public SentimentDetail getDetail()
public void setDetail(SentimentDetail Detail)
Detail - 情感分析明细public String getCode()
public void setCode(String Code)
Code - 响应码,成功为"OK",失败为"InternalError"public String getMessage()
public void setMessage(String Message)
Message - 异常信息Copyright © 2025. All rights reserved.