Class ResponseInputItem.ImageGenerationCall.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class ResponseInputItem.ImageGenerationCall.BuilderA builder for ImageGenerationCall.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
id
final ResponseInputItem.ImageGenerationCall.Builder id(String id)
The unique ID of the image generation call.
 
- 
                                        
id
final ResponseInputItem.ImageGenerationCall.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
result
final ResponseInputItem.ImageGenerationCall.Builder result(String result)
The generated image encoded in base64.
 
- 
                                        
result
final ResponseInputItem.ImageGenerationCall.Builder result(Optional<String> result)
Alias for calling Builder.result with
result.orElse(null). 
- 
                                        
result
final ResponseInputItem.ImageGenerationCall.Builder result(JsonField<String> result)
Sets Builder.result to an arbitrary JSON value.
You should usually call Builder.result with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
status
final ResponseInputItem.ImageGenerationCall.Builder status(ResponseInputItem.ImageGenerationCall.Status status)
The status of the image generation call.
 
- 
                                        
status
final ResponseInputItem.ImageGenerationCall.Builder status(JsonField<ResponseInputItem.ImageGenerationCall.Status> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status with a well-typed Status value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
type
final ResponseInputItem.ImageGenerationCall.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("image_generation_call")This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
additionalProperties
final ResponseInputItem.ImageGenerationCall.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final ResponseInputItem.ImageGenerationCall.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final ResponseInputItem.ImageGenerationCall.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final ResponseInputItem.ImageGenerationCall.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final ResponseInputItem.ImageGenerationCall.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final ResponseInputItem.ImageGenerationCall build()
Returns an immutable instance of ImageGenerationCall.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .result() .status() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -