Package com.openai.models.responses
        Class ResponseInputTextContent.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class ResponseInputTextContent.BuilderA builder for ResponseInputTextContent.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description final ResponseInputTextContent.Buildertext(String text)The text input to the model. final ResponseInputTextContent.Buildertext(JsonField<String> text)Sets Builder.text to an arbitrary JSON value. final ResponseInputTextContent.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final ResponseInputTextContent.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final ResponseInputTextContent.BuilderputAdditionalProperty(String key, JsonValue value)final ResponseInputTextContent.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final ResponseInputTextContent.BuilderremoveAdditionalProperty(String key)final ResponseInputTextContent.BuilderremoveAllAdditionalProperties(Set<String> keys)final ResponseInputTextContentbuild()Returns an immutable instance of ResponseInputTextContent. - 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
text
final ResponseInputTextContent.Builder text(String text)
The text input to the model.
 
- 
                                        
text
final ResponseInputTextContent.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 ResponseInputTextContent.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 ResponseInputTextContent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final ResponseInputTextContent.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final ResponseInputTextContent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final ResponseInputTextContent.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final ResponseInputTextContent.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final ResponseInputTextContent build()
Returns an immutable instance of ResponseInputTextContent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.text() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -