Package com.openai.models.responses
        Class ResponseInputText.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class ResponseInputText.BuilderA builder for ResponseInputText.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description final ResponseInputText.Buildertext(String text)The text input to the model. final ResponseInputText.Buildertext(JsonField<String> text)Sets Builder.text to an arbitrary JSON value. final ResponseInputText.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final ResponseInputText.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final ResponseInputText.BuilderputAdditionalProperty(String key, JsonValue value)final ResponseInputText.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final ResponseInputText.BuilderremoveAdditionalProperty(String key)final ResponseInputText.BuilderremoveAllAdditionalProperties(Set<String> keys)final ResponseInputTextbuild()Returns an immutable instance of ResponseInputText. - 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
text
final ResponseInputText.Builder text(String text)
The text input to the model.
 
- 
                                        
text
final ResponseInputText.Builder text(JsonField<String> text)
Sets Builder.text to an arbitrary JSON value.
You should usually call Builder.text with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
type
final ResponseInputText.Builder type(JsonValue type)
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("input_text")This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
additionalProperties
final ResponseInputText.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final ResponseInputText.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final ResponseInputText.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final ResponseInputText.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final ResponseInputText.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final ResponseInputText build()
Returns an immutable instance of ResponseInputText.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.text() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -