Package com.openai.models.responses
        Class EasyInputMessage.Content
- 
                    
                    - All Implemented Interfaces:
 
 public final class EasyInputMessage.ContentText, image, or audio input to the model, used to generate a response. Can also contain previous assistant responses. 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public interfaceEasyInputMessage.Content.VisitorAn interface that defines how to map each variant of Content to a value of type T. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final Optional<String>textInput()A text input to the model. final Optional<List<ResponseInputContent>>responseInputMessageContentList()A list of one or many input items to the model, containing different content types. final BooleanisTextInput()final BooleanisResponseInputMessageContentList()final StringasTextInput()A text input to the model. final List<ResponseInputContent>asResponseInputMessageContentList()A list of one or many input items to the model, containing different content types. final Optional<JsonValue>_json()final <T extends Any> Taccept(EasyInputMessage.Content.Visitor<T> visitor)final EasyInputMessage.Contentvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static EasyInputMessage.ContentofTextInput(String textInput)A text input to the model. final static EasyInputMessage.ContentofResponseInputMessageContentList(List<ResponseInputContent> responseInputMessageContentList)A list of one or many input items to the model, containing different content types. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        responseInputMessageContentListfinal Optional<List<ResponseInputContent>> responseInputMessageContentList() A list of one or many input items to the model, containing different content types. 
 - 
                                        isTextInputfinal Boolean isTextInput() 
 - 
                                        isResponseInputMessageContentListfinal Boolean isResponseInputMessageContentList() 
 - 
                                        asTextInputfinal String asTextInput() A text input to the model. 
 - 
                                        asResponseInputMessageContentListfinal List<ResponseInputContent> asResponseInputMessageContentList() A list of one or many input items to the model, containing different content types. 
 - 
                                        acceptfinal <T extends Any> T accept(EasyInputMessage.Content.Visitor<T> visitor) 
 - 
                                        validatefinal EasyInputMessage.Content validate() 
 - 
                                        ofTextInputfinal static EasyInputMessage.Content ofTextInput(String textInput) A text input to the model. 
 - 
                                        ofResponseInputMessageContentListfinal static EasyInputMessage.Content ofResponseInputMessageContentList(List<ResponseInputContent> responseInputMessageContentList) A list of one or many input items to the model, containing different content types. 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-