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