public class Choice extends AbstractModel
header, skipSign
Constructor and Description |
---|
Choice() |
Choice(Choice 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 |
---|---|
Delta |
getDelta()
Get 返回值。
|
String |
getFinishReason()
Get 流式结束标志位,为 stop 则表示尾包。
|
void |
setDelta(Delta Delta)
Set 返回值。
|
void |
setFinishReason(String FinishReason)
Set 流式结束标志位,为 stop 则表示尾包。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public Choice()
public Choice(Choice source)
public String getFinishReason()
public void setFinishReason(String FinishReason)
FinishReason
- 流式结束标志位,为 stop 则表示尾包。public Delta getDelta()
public void setDelta(Delta Delta)
Delta
- 返回值。Copyright © 2024. All rights reserved.