Class ChatCompletionFunctionMessageParam.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class ChatCompletionFunctionMessageParam.BuilderA builder for ChatCompletionFunctionMessageParam.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
content
final ChatCompletionFunctionMessageParam.Builder content(String content)
The contents of the function message.
 
- 
                                        
content
final ChatCompletionFunctionMessageParam.Builder content(Optional<String> content)
Alias for calling Builder.content with
content.orElse(null). 
- 
                                        
content
final ChatCompletionFunctionMessageParam.Builder content(JsonField<String> content)
Sets Builder.content to an arbitrary JSON value.
You should usually call Builder.content with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
name
final ChatCompletionFunctionMessageParam.Builder name(String name)
The name of the function to call.
 
- 
                                        
name
final ChatCompletionFunctionMessageParam.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
role
final ChatCompletionFunctionMessageParam.Builder role(JsonValue role)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("function")This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
additionalProperties
final ChatCompletionFunctionMessageParam.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final ChatCompletionFunctionMessageParam.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final ChatCompletionFunctionMessageParam.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final ChatCompletionFunctionMessageParam.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final ChatCompletionFunctionMessageParam.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final ChatCompletionFunctionMessageParam build()
Returns an immutable instance of ChatCompletionFunctionMessageParam.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.content() .name() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -