@Generated(value="jsonschema2pojo") public class Message extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Message.ChatRole
ChatRole
|
| Constructor and Description |
|---|
Message() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
Object |
getContent()
Content
|
String |
getName()
Name
|
List<Reference> |
getReferences()
References
|
Message.ChatRole |
getRole()
ChatRole
|
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
|
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 © 2025. All rights reserved.