Package com.openai.models
Class VectorStore.ExpiresAfter
-
- All Implemented Interfaces:
public final class VectorStore.ExpiresAfterThe expiration policy for a vector store.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classVectorStore.ExpiresAfter.Builderpublic final classVectorStore.ExpiresAfter.AnchorAnchor timestamp after which the expiration policy applies. Supported anchors:
last_active_at.
-
Method Summary
Modifier and Type Method Description final VectorStore.ExpiresAfter.Anchoranchor()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<VectorStore.ExpiresAfter.Anchor>_anchor()Anchor timestamp after which the expiration policy applies. final JsonField<Long>_days()The number of days after the anchor time that the vector store will expire. final Map<String, JsonValue>_additionalProperties()final VectorStore.ExpiresAftervalidate()final VectorStore.ExpiresAfter.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static VectorStore.ExpiresAfter.Builderbuilder()-
-
Method Detail
-
anchor
final VectorStore.ExpiresAfter.Anchor anchor()
Anchor timestamp after which the expiration policy applies. Supported anchors:
last_active_at.
-
_anchor
final JsonField<VectorStore.ExpiresAfter.Anchor> _anchor()
Anchor timestamp after which the expiration policy applies. Supported anchors:
last_active_at.
-
_days
final JsonField<Long> _days()
The number of days after the anchor time that the vector store will expire.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final VectorStore.ExpiresAfter validate()
-
toBuilder
final VectorStore.ExpiresAfter.Builder toBuilder()
-
builder
final static VectorStore.ExpiresAfter.Builder builder()
-
-
-
-