Class Message
- 
                    
                    - All Implemented Interfaces:
 
 public final class MessageA message to or from the model. 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classMessage.BuilderA builder for Message. public final classMessage.ContentA text input to the model. public final classMessage.RoleThe role of the message. One of unknown,user,assistant,system,critic,discriminator,developer, ortool.public final classMessage.StatusThe status of item. One of in_progress,completed, orincomplete. Populated when items are returned via API.
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final Stringid()The unique ID of the message. final List<Message.Content>content()The content of the message final Message.Rolerole()The role of the message. final Message.Statusstatus()The status of item. final JsonValue_type()The type of the message. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<List<Message.Content>>_content()Returns the raw JSON value of content. final JsonField<Message.Role>_role()Returns the raw JSON value of role. final JsonField<Message.Status>_status()Returns the raw JSON value of status. final Map<String, JsonValue>_additionalProperties()final Message.BuildertoBuilder()final Messagevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Message.Builderbuilder()Returns a mutable builder for constructing an instance of Message. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        contentfinal List<Message.Content> content() The content of the message 
 - 
                                        rolefinal Message.Role role() The role of the message. One of unknown,user,assistant,system,critic,discriminator,developer, ortool.
 - 
                                        statusfinal Message.Status status() The status of item. One of in_progress,completed, orincomplete. Populated when items are returned via API.
 - 
                                        _typefinal JsonValue _type() The type of the message. Always set to message.Expected to always return the following: JsonValue.from("message")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value). 
 - 
                                        _idfinal JsonField<String> _id() Returns the raw JSON value of id. Unlike id, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _contentfinal JsonField<List<Message.Content>> _content() Returns the raw JSON value of content. Unlike content, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _rolefinal JsonField<Message.Role> _role() Returns the raw JSON value of role. Unlike role, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _statusfinal JsonField<Message.Status> _status() Returns the raw JSON value of status. Unlike status, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal Message.Builder toBuilder() 
 - 
                                        builderfinal static Message.Builder builder() Returns a mutable builder for constructing an instance of Message. The following fields are required: .id() .content() .role() .status()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-