Package com.openai.models.responses
        Class ResponseCreateParams.Input
- 
                    
                    - All Implemented Interfaces:
 
 public final class ResponseCreateParams.InputText, image, or file inputs to the model, used to generate a response. Learn more: 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public interfaceResponseCreateParams.Input.VisitorAn interface that defines how to map each variant of Input to a value of type T. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final Optional<String>text()A text input to the model, equivalent to a text input with the userrole.final Optional<List<ResponseInputItem>>response()A list of one or many input items to the model, containing different content types. final BooleanisText()final BooleanisResponse()final StringasText()A text input to the model, equivalent to a text input with the userrole.final List<ResponseInputItem>asResponse()A list of one or many input items to the model, containing different content types. final Optional<JsonValue>_json()final <T extends Any> Taccept(ResponseCreateParams.Input.Visitor<T> visitor)final ResponseCreateParams.Inputvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseCreateParams.InputofText(String text)A text input to the model, equivalent to a text input with the userrole.final static ResponseCreateParams.InputofResponse(List<ResponseInputItem> response)A list of one or many input items to the model, containing different content types. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        textfinal Optional<String> text() A text input to the model, equivalent to a text input with the userrole.
 - 
                                        responsefinal Optional<List<ResponseInputItem>> response() A list of one or many input items to the model, containing different content types. 
 - 
                                        isResponsefinal Boolean isResponse() 
 - 
                                        asTextfinal String asText() A text input to the model, equivalent to a text input with the userrole.
 - 
                                        asResponsefinal List<ResponseInputItem> asResponse() A list of one or many input items to the model, containing different content types. 
 - 
                                        acceptfinal <T extends Any> T accept(ResponseCreateParams.Input.Visitor<T> visitor) 
 - 
                                        validatefinal ResponseCreateParams.Input validate() 
 - 
                                        ofTextfinal static ResponseCreateParams.Input ofText(String text) A text input to the model, equivalent to a text input with the userrole.
 - 
                                        ofResponsefinal static ResponseCreateParams.Input ofResponse(List<ResponseInputItem> response) A list of one or many input items to the model, containing different content types. 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-