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 情感分析明细
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getLabel()
Get 情感标签
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getMessage()
Get 异常信息
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getScore()
Get 标签分数,取值范围0到100
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setCode(String Code)
Set 响应码,成功为"OK",失败为"InternalError"
|
void |
setDetail(SentimentDetail Detail)
Set 情感分析明细
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setLabel(String Label)
Set 情感标签
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setMessage(String Message)
Set 异常信息
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setScore(Long Score)
Set 标签分数,取值范围0到100
注意:此字段可能返回 null,表示取不到有效值。
|
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 SentimentAnalysis()
public SentimentAnalysis(SentimentAnalysis source)
public String getLabel()
public void setLabel(String Label)
Label
- 情感标签
注意:此字段可能返回 null,表示取不到有效值。public Long getScore()
public void setScore(Long Score)
Score
- 标签分数,取值范围0到100
注意:此字段可能返回 null,表示取不到有效值。public SentimentDetail getDetail()
public void setDetail(SentimentDetail Detail)
Detail
- 情感分析明细
注意:此字段可能返回 null,表示取不到有效值。public String getCode()
public void setCode(String Code)
Code
- 响应码,成功为"OK",失败为"InternalError"public String getMessage()
public void setMessage(String Message)
Message
- 异常信息
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2024. All rights reserved.