Class ImageGenCompletedEvent
- 
                    
                    - All Implemented Interfaces:
 
 public final class ImageGenCompletedEventEmitted when image generation has completed and the final image is available. 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classImageGenCompletedEvent.BuilderA builder for ImageGenCompletedEvent. public final classImageGenCompletedEvent.BackgroundThe background setting for the generated image. public final classImageGenCompletedEvent.OutputFormatThe output format for the generated image. public final classImageGenCompletedEvent.QualityThe quality setting for the generated image. public final classImageGenCompletedEvent.SizeThe size of the generated image. public final classImageGenCompletedEvent.UsageFor gpt-image-1only, the token usage information for the image generation.
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final Stringb64Json()Base64-encoded image data, suitable for rendering as an image. final ImageGenCompletedEvent.Backgroundbackground()The background setting for the generated image. final LongcreatedAt()The Unix timestamp when the event was created. final ImageGenCompletedEvent.OutputFormatoutputFormat()The output format for the generated image. final ImageGenCompletedEvent.Qualityquality()The quality setting for the generated image. final ImageGenCompletedEvent.Sizesize()The size of the generated image. final JsonValue_type()The type of the event. final ImageGenCompletedEvent.Usageusage()For gpt-image-1only, the token usage information for the image generation.final JsonField<String>_b64Json()Returns the raw JSON value of b64Json. final JsonField<ImageGenCompletedEvent.Background>_background()Returns the raw JSON value of background. final JsonField<Long>_createdAt()Returns the raw JSON value of createdAt. final JsonField<ImageGenCompletedEvent.OutputFormat>_outputFormat()Returns the raw JSON value of outputFormat. final JsonField<ImageGenCompletedEvent.Quality>_quality()Returns the raw JSON value of quality. final JsonField<ImageGenCompletedEvent.Size>_size()Returns the raw JSON value of size. final JsonField<ImageGenCompletedEvent.Usage>_usage()Returns the raw JSON value of usage. final Map<String, JsonValue>_additionalProperties()final ImageGenCompletedEvent.BuildertoBuilder()final ImageGenCompletedEventvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ImageGenCompletedEvent.Builderbuilder()Returns a mutable builder for constructing an instance of ImageGenCompletedEvent. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        backgroundfinal ImageGenCompletedEvent.Background background() The background setting for the generated image. 
 - 
                                        outputFormatfinal ImageGenCompletedEvent.OutputFormat outputFormat() The output format for the generated image. 
 - 
                                        qualityfinal ImageGenCompletedEvent.Quality quality() The quality setting for the generated image. 
 - 
                                        sizefinal ImageGenCompletedEvent.Size size() The size of the generated image. 
 - 
                                        _typefinal JsonValue _type() The type of the event. Always image_generation.completed.Expected to always return the following: JsonValue.from("image_generation.completed")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value). 
 - 
                                        usagefinal ImageGenCompletedEvent.Usage usage() For gpt-image-1only, the token usage information for the image generation.
 - 
                                        _b64Jsonfinal JsonField<String> _b64Json() Returns the raw JSON value of b64Json. Unlike b64Json, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _backgroundfinal JsonField<ImageGenCompletedEvent.Background> _background() Returns the raw JSON value of background. Unlike background, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _createdAtfinal JsonField<Long> _createdAt() Returns the raw JSON value of createdAt. Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _outputFormatfinal JsonField<ImageGenCompletedEvent.OutputFormat> _outputFormat() Returns the raw JSON value of outputFormat. Unlike outputFormat, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _qualityfinal JsonField<ImageGenCompletedEvent.Quality> _quality() Returns the raw JSON value of quality. Unlike quality, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _sizefinal JsonField<ImageGenCompletedEvent.Size> _size() Returns the raw JSON value of size. Unlike size, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _usagefinal JsonField<ImageGenCompletedEvent.Usage> _usage() Returns the raw JSON value of usage. Unlike usage, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal ImageGenCompletedEvent.Builder toBuilder() 
 - 
                                        validatefinal ImageGenCompletedEvent validate() 
 - 
                                        builderfinal static ImageGenCompletedEvent.Builder builder() Returns a mutable builder for constructing an instance of ImageGenCompletedEvent. The following fields are required: .b64Json() .background() .createdAt() .outputFormat() .quality() .size() .usage()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-