Class FileObject.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class FileObject.BuilderA builder for FileObject. 
- 
                
                    
                    - 
                                
                            
                                Method SummaryModifier and Type Method Description final FileObject.Builderid(String id)The file identifier, which can be referenced in the API endpoints. final FileObject.Builderid(JsonField<String> id)Sets Builder.id to an arbitrary JSON value. final FileObject.Builderbytes(Long bytes)The size of the file, in bytes. final FileObject.Builderbytes(JsonField<Long> bytes)Sets Builder.bytes to an arbitrary JSON value. final FileObject.BuildercreatedAt(Long createdAt)The Unix timestamp (in seconds) for when the file was created. final FileObject.BuildercreatedAt(JsonField<Long> createdAt)Sets Builder.createdAt to an arbitrary JSON value. final FileObject.Builderfilename(String filename)The name of the file. final FileObject.Builderfilename(JsonField<String> filename)Sets Builder.filename to an arbitrary JSON value. final FileObject.Builderobject_(JsonValue object_)Sets the field to an arbitrary JSON value. final FileObject.Builderpurpose(FileObject.Purpose purpose)The intended purpose of the file. final FileObject.Builderpurpose(JsonField<FileObject.Purpose> purpose)Sets Builder.purpose to an arbitrary JSON value. final FileObject.Builderstatus(FileObject.Status status)Deprecated. final FileObject.Builderstatus(JsonField<FileObject.Status> status)Sets Builder.status to an arbitrary JSON value. final FileObject.BuilderexpiresAt(Long expiresAt)The Unix timestamp (in seconds) for when the file will expire. final FileObject.BuilderexpiresAt(JsonField<Long> expiresAt)Sets Builder.expiresAt to an arbitrary JSON value. final FileObject.BuilderstatusDetails(String statusDetails)Deprecated. final FileObject.BuilderstatusDetails(JsonField<String> statusDetails)Sets Builder.statusDetails to an arbitrary JSON value. final FileObject.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final FileObject.BuilderputAdditionalProperty(String key, JsonValue value)final FileObject.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final FileObject.BuilderremoveAdditionalProperty(String key)final FileObject.BuilderremoveAllAdditionalProperties(Set<String> keys)final FileObjectbuild()Returns an immutable instance of FileObject. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        idfinal FileObject.Builder id(String id) The file identifier, which can be referenced in the API endpoints. 
 - 
                                        idfinal FileObject.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. 
 - 
                                        bytesfinal FileObject.Builder bytes(Long bytes) The size of the file, in bytes. 
 - 
                                        bytesfinal FileObject.Builder bytes(JsonField<Long> bytes) Sets Builder.bytes to an arbitrary JSON value. You should usually call Builder.bytes with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        createdAtfinal FileObject.Builder createdAt(Long createdAt) The Unix timestamp (in seconds) for when the file was created. 
 - 
                                        createdAtfinal FileObject.Builder createdAt(JsonField<Long> createdAt) Sets Builder.createdAt to an arbitrary JSON value. You should usually call Builder.createdAt with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        filenamefinal FileObject.Builder filename(String filename) The name of the file. 
 - 
                                        filenamefinal FileObject.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. 
 - 
                                        object_final FileObject.Builder object_(JsonValue object_) 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("file")This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        purposefinal FileObject.Builder purpose(FileObject.Purpose purpose) The intended purpose of the file. Supported values are assistants,assistants_output,batch,batch_output,fine-tune,fine-tune-results,vision, anduser_data.
 - 
                                        purposefinal FileObject.Builder purpose(JsonField<FileObject.Purpose> purpose) Sets Builder.purpose to an arbitrary JSON value. You should usually call Builder.purpose with a well-typed Purpose value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        status@Deprecated(message = "deprecated") final FileObject.Builder status(FileObject.Status status) Deprecated. The current status of the file, which can be either uploaded,processed, orerror.
 - 
                                        status@Deprecated(message = "deprecated") final FileObject.Builder status(JsonField<FileObject.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. 
 - 
                                        expiresAtfinal FileObject.Builder expiresAt(Long expiresAt) The Unix timestamp (in seconds) for when the file will expire. 
 - 
                                        expiresAtfinal FileObject.Builder expiresAt(JsonField<Long> expiresAt) Sets Builder.expiresAt to an arbitrary JSON value. You should usually call Builder.expiresAt with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        statusDetails@Deprecated(message = "deprecated") final FileObject.Builder statusDetails(String statusDetails) Deprecated. For details on why a fine-tuning training file failed validation, see the errorfield onfine_tuning.job.
 - 
                                        statusDetails@Deprecated(message = "deprecated") final FileObject.Builder statusDetails(JsonField<String> statusDetails) Sets Builder.statusDetails to an arbitrary JSON value. You should usually call Builder.statusDetails with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        additionalPropertiesfinal FileObject.Builder additionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        putAdditionalPropertyfinal FileObject.Builder putAdditionalProperty(String key, JsonValue value) 
 - 
                                        putAllAdditionalPropertiesfinal FileObject.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        removeAdditionalPropertyfinal FileObject.Builder removeAdditionalProperty(String key) 
 - 
                                        removeAllAdditionalPropertiesfinal FileObject.Builder removeAllAdditionalProperties(Set<String> keys) 
 - 
                                        buildfinal FileObject build() Returns an immutable instance of FileObject. Further updates to this Builder will not mutate the returned instance. The following fields are required: .id() .bytes() .createdAt() .filename() .purpose() .status()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-