Class ResponseInputFile.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class ResponseInputFile.BuilderA builder for ResponseInputFile.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
type
final ResponseInputFile.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("input_file")This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
fileData
final ResponseInputFile.Builder fileData(String fileData)
The content of the file to be sent to the model.
 
- 
                                        
fileData
final ResponseInputFile.Builder fileData(JsonField<String> fileData)
Sets Builder.fileData to an arbitrary JSON value.
You should usually call Builder.fileData with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
fileId
final ResponseInputFile.Builder fileId(String fileId)
The ID of the file to be sent to the model.
 
- 
                                        
fileId
final ResponseInputFile.Builder fileId(Optional<String> fileId)
Alias for calling Builder.fileId with
fileId.orElse(null). 
- 
                                        
fileId
final ResponseInputFile.Builder fileId(JsonField<String> fileId)
Sets Builder.fileId to an arbitrary JSON value.
You should usually call Builder.fileId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
fileUrl
final ResponseInputFile.Builder fileUrl(String fileUrl)
The URL of the file to be sent to the model.
 
- 
                                        
fileUrl
final ResponseInputFile.Builder fileUrl(JsonField<String> fileUrl)
Sets Builder.fileUrl to an arbitrary JSON value.
You should usually call Builder.fileUrl with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
filename
final ResponseInputFile.Builder filename(String filename)
The name of the file to be sent to the model.
 
- 
                                        
filename
final ResponseInputFile.Builder filename(JsonField<String> filename)
Sets Builder.filename to an arbitrary JSON value.
You should usually call Builder.filename with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
additionalProperties
final ResponseInputFile.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final ResponseInputFile.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final ResponseInputFile.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final ResponseInputFile.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final ResponseInputFile.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final ResponseInputFile build()
Returns an immutable instance of ResponseInputFile.
Further updates to this Builder will not mutate the returned instance.
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -