Class ChatCompletionUserMessageParam
- 
                    
                    - All Implemented Interfaces:
 
 public final class ChatCompletionUserMessageParamMessages sent by an end user, containing prompts or additional context information. 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classChatCompletionUserMessageParam.BuilderA builder for ChatCompletionUserMessageParam. public final classChatCompletionUserMessageParam.ContentThe contents of the user message. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final ChatCompletionUserMessageParam.Contentcontent()The contents of the user message. final JsonValue_role()The role of the messages author, in this case user.final Optional<String>name()An optional name for the participant. final JsonField<ChatCompletionUserMessageParam.Content>_content()Returns the raw JSON value of content. final JsonField<String>_name()Returns the raw JSON value of name. final Map<String, JsonValue>_additionalProperties()final ChatCompletionUserMessageParam.BuildertoBuilder()final ChatCompletionUserMessageParamvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ChatCompletionUserMessageParam.Builderbuilder()Returns a mutable builder for constructing an instance of ChatCompletionUserMessageParam. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        contentfinal ChatCompletionUserMessageParam.Content content() The contents of the user message. 
 - 
                                        _rolefinal JsonValue _role() The role of the messages author, in this case user.Expected to always return the following: JsonValue.from("user")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value). 
 - 
                                        namefinal Optional<String> name() An optional name for the participant. Provides the model information to differentiate between participants of the same role. 
 - 
                                        _contentfinal JsonField<ChatCompletionUserMessageParam.Content> _content() Returns the raw JSON value of content. Unlike content, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _namefinal JsonField<String> _name() Returns the raw JSON value of name. Unlike name, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal ChatCompletionUserMessageParam.Builder toBuilder() 
 - 
                                        validatefinal ChatCompletionUserMessageParam validate() 
 - 
                                        builderfinal static ChatCompletionUserMessageParam.Builder builder() Returns a mutable builder for constructing an instance of ChatCompletionUserMessageParam. The following fields are required: .content()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-