public class ModelResult extends AbstractModel
header, skipSign| Constructor and Description |
|---|
ModelResult() |
ModelResult(ModelResult 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 模型检测出的违规内容
注意:此字段可能返回 null,表示取不到有效值。
|
Positions[] |
getPositions()
Get 模型检测出的违规内容的位置
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setContent(String Content)
Set 模型检测出的违规内容
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setPositions(Positions[] Positions)
Set 模型检测出的违规内容的位置
注意:此字段可能返回 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, toJsonStringpublic ModelResult()
public ModelResult(ModelResult source)
public String getContent()
public void setContent(String Content)
Content - 模型检测出的违规内容
注意:此字段可能返回 null,表示取不到有效值。public Positions[] getPositions()
public void setPositions(Positions[] Positions)
Positions - 模型检测出的违规内容的位置
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2024. All rights reserved.