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 | 
|---|---|
| String | getFinishReason()Get 结束理由: stop, length, content_filter, null | 
| Long | getIndex()Get 序号 | 
| Message | getMessage()Get 对话结果 | 
| void | setFinishReason(String FinishReason)Set 结束理由: stop, length, content_filter, null | 
| void | setIndex(Long Index)Set 序号 | 
| void | setMessage(Message Message)Set 对话结果 | 
| 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 Choice()
public Choice(Choice source)
public Message getMessage()
public void setMessage(Message Message)
Message - 对话结果public String getFinishReason()
public void setFinishReason(String FinishReason)
FinishReason - 结束理由: stop, length, content_filter, nullpublic Long getIndex()
public void setIndex(Long Index)
Index - 序号Copyright © 2025. All rights reserved.