Package com.openai.models.vectorstores
        Class VectorStoreCreateParams.ExpiresAfter
- 
                    
                    
- All Implemented Interfaces:
 
public final class VectorStoreCreateParams.ExpiresAfterThe expiration policy for a vector store.
 
- 
                
                    
                    
- 
                                
                            
                                
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classVectorStoreCreateParams.ExpiresAfter.BuilderA builder for ExpiresAfter.
 
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description final JsonValue_anchor()Anchor timestamp after which the expiration policy applies. final Longdays()The number of days after the anchor time that the vector store will expire. final JsonField<Long>_days()Returns the raw JSON value of days. final Map<String, JsonValue>_additionalProperties()final VectorStoreCreateParams.ExpiresAfter.BuildertoBuilder()final VectorStoreCreateParams.ExpiresAftervalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static VectorStoreCreateParams.ExpiresAfter.Builderbuilder()Returns a mutable builder for constructing an instance of ExpiresAfter. - 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
_anchor
final JsonValue _anchor()
Anchor timestamp after which the expiration policy applies. Supported anchors:
last_active_at.Expected to always return the following:
JsonValue.from("last_active_at")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
 
- 
                                        
_days
final JsonField<Long> _days()
Returns the raw JSON value of days.
Unlike days, this method doesn't throw if the JSON field has an unexpected type.
 
- 
                                        
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
 
- 
                                        
toBuilder
final VectorStoreCreateParams.ExpiresAfter.Builder toBuilder()
 
- 
                                        
validate
final VectorStoreCreateParams.ExpiresAfter validate()
 
- 
                                        
builder
final static VectorStoreCreateParams.ExpiresAfter.Builder builder()
Returns a mutable builder for constructing an instance of ExpiresAfter.
The following fields are required:
.days() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -