Package com.openai.models.files
        Class FileCreateParams.ExpiresAfter.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class FileCreateParams.ExpiresAfter.BuilderA builder for ExpiresAfter.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
anchor
final FileCreateParams.ExpiresAfter.Builder anchor(JsonValue anchor)
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("created_at")This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
seconds
final FileCreateParams.ExpiresAfter.Builder seconds(Long seconds)
The number of seconds after the anchor time that the file will expire. Must be between 3600 (1 hour) and 2592000 (30 days).
 
- 
                                        
seconds
final FileCreateParams.ExpiresAfter.Builder seconds(MultipartField<Long> seconds)
Sets Builder.seconds to an arbitrary multipart value.
You should usually call Builder.seconds with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
additionalProperties
final FileCreateParams.ExpiresAfter.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final FileCreateParams.ExpiresAfter.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final FileCreateParams.ExpiresAfter.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final FileCreateParams.ExpiresAfter.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final FileCreateParams.ExpiresAfter.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final FileCreateParams.ExpiresAfter build()
Returns an immutable instance of ExpiresAfter.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.seconds() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -