Class ChatCompletionContentPartImage
- 
                    
                    
- All Implemented Interfaces:
 
public final class ChatCompletionContentPartImageLearn about image inputs.
 
- 
                
                    
                    
- 
                                
                            
                                
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classChatCompletionContentPartImage.BuilderA builder for ChatCompletionContentPartImage.
public final classChatCompletionContentPartImage.ImageUrl 
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description final ChatCompletionContentPartImage.ImageUrlimageUrl()final JsonValue_type()The type of the content part. final JsonField<ChatCompletionContentPartImage.ImageUrl>_imageUrl()Returns the raw JSON value of imageUrl. final Map<String, JsonValue>_additionalProperties()final ChatCompletionContentPartImage.BuildertoBuilder()final ChatCompletionContentPartImagevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ChatCompletionContentPartImage.Builderbuilder()Returns a mutable builder for constructing an instance of ChatCompletionContentPartImage. - 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
imageUrl
final ChatCompletionContentPartImage.ImageUrl imageUrl()
 
- 
                                        
_type
final JsonValue _type()
The type of the content part.
Expected to always return the following:
JsonValue.from("image_url")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
 
- 
                                        
_imageUrl
final JsonField<ChatCompletionContentPartImage.ImageUrl> _imageUrl()
Returns the raw JSON value of imageUrl.
Unlike imageUrl, this method doesn't throw if the JSON field has an unexpected type.
 
- 
                                        
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
 
- 
                                        
toBuilder
final ChatCompletionContentPartImage.Builder toBuilder()
 
- 
                                        
validate
final ChatCompletionContentPartImage validate()
 
- 
                                        
builder
final static ChatCompletionContentPartImage.Builder builder()
Returns a mutable builder for constructing an instance of ChatCompletionContentPartImage.
The following fields are required:
.imageUrl() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -