@Generated(value="jsonschema2pojo") public class Message extends Object
限定符和类型 | 类和说明 |
---|---|
static class |
Message.ChatRole
ChatRole
An enumeration.
|
构造器和说明 |
---|
Message() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
equals(Object other) |
Object |
getContent()
Content
|
String |
getName()
Name
|
List<Reference> |
getReferences()
References
|
Message.ChatRole |
getRole()
ChatRole
An enumeration.
|
String |
getToolCallId()
Tool Call Id
|
List<ToolCall> |
getToolCalls()
Tool Calls
|
int |
hashCode() |
void |
setContent(Object content)
Content
|
void |
setName(String name)
Name
|
void |
setReferences(List<Reference> references)
References
|
void |
setRole(Message.ChatRole role)
ChatRole
An enumeration.
|
void |
setToolCallId(String toolCallId)
Tool Call Id
|
void |
setToolCalls(List<ToolCall> toolCalls)
Tool Calls
|
String |
toString() |
Message |
withContent(Object content) |
Message |
withName(String name) |
Message |
withReferences(List<Reference> references) |
Message |
withRole(Message.ChatRole role) |
Message |
withToolCallId(String toolCallId) |
Message |
withToolCalls(List<ToolCall> toolCalls) |
public Message.ChatRole getRole()
An enumeration.
public void setRole(Message.ChatRole role)
An enumeration.
public Message withRole(Message.ChatRole role)
public Object getContent()
public void setContent(Object content)
public String getName()
public void setName(String name)
public String getToolCallId()
public void setToolCallId(String toolCallId)
Copyright © 2024. All rights reserved.