Package com.intellijava.core.model
Class OpenaiChatResponse.Message
java.lang.Object
com.intellijava.core.model.OpenaiChatResponse.Message
- Enclosing class:
- OpenaiChatResponse
Message represents a message exchanged in a chat session.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGets the content of the message.getRole()Gets the role of the sender of the message.voidsetContent(String content) Sets the content of the message.voidSets the role of the sender of the message.
- 
Constructor Details- 
Messagepublic Message()Message default constructor.
 
- 
- 
Method Details- 
getRoleGets the role of the sender of the message.- Returns:
- the role of the sender of the message.
 
- 
setRoleSets the role of the sender of the message.- Parameters:
- role- the role of the sender of the message.
 
- 
getContentGets the content of the message.- Returns:
- the content of the message.
 
- 
setContentSets the content of the message.- Parameters:
- content- the content of the message.
 
 
-