public class OutputItem extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
OutputItem.Builder |
| 构造器和说明 |
|---|
OutputItem() |
OutputItem(OutputItem.Builder builder) |
| 限定符和类型 | 方法和说明 |
|---|---|
Annotation[] |
getAnnotations() |
Integer |
getErrorCode() |
String |
getErrorMessage() |
Integer |
getEvent() |
Integer |
getItemId() |
SearchCallContent[] |
getReferences() |
Integer |
getStatus() |
String |
getText() |
ToolCallContent |
getToolCall() |
Integer |
getType() |
static OutputItem.Builder |
newBuilder() |
void |
setAnnotations(Annotation[] annotations) |
void |
setErrorCode(Integer errorCode) |
void |
setErrorMessage(String errorMessage) |
void |
setEvent(Integer event) |
void |
setItemId(Integer itemId) |
void |
setReferences(SearchCallContent[] references) |
void |
setStatus(Integer status) |
void |
setText(String text) |
void |
setToolCall(ToolCallContent toolCall) |
void |
setType(Integer type) |
public OutputItem()
public OutputItem(OutputItem.Builder builder)
public Integer getItemId()
public void setItemId(Integer itemId)
public Integer getEvent()
public void setEvent(Integer event)
public Integer getType()
public void setType(Integer type)
public Integer getStatus()
public void setStatus(Integer status)
public String getText()
public void setText(String text)
public Annotation[] getAnnotations()
public void setAnnotations(Annotation[] annotations)
public String getErrorMessage()
public void setErrorMessage(String errorMessage)
public Integer getErrorCode()
public void setErrorCode(Integer errorCode)
public ToolCallContent getToolCall()
public void setToolCall(ToolCallContent toolCall)
public SearchCallContent[] getReferences()
public void setReferences(SearchCallContent[] references)
public static OutputItem.Builder newBuilder()
Copyright © 2026. All rights reserved.