Package com.openai.models
Class VectorStore.ExpiresAfter
-
- All Implemented Interfaces:
public final class VectorStore.ExpiresAfter
The expiration policy for a vector store.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
VectorStore.ExpiresAfter.Builder
public final class
VectorStore.ExpiresAfter.Anchor
Anchor timestamp after which the expiration policy applies. Supported anchors:
last_active_at
.
-
Method Summary
Modifier and Type Method Description final VectorStore.ExpiresAfter.Anchor
anchor()
Anchor timestamp after which the expiration policy applies. final Long
days()
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.ExpiresAfter
validate()
final VectorStore.ExpiresAfter.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static VectorStore.ExpiresAfter.Builder
builder()
-
-
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()
-
-
-
-