Package com.openai.models.responses
Class ResponsesClientEvent.ContextManagement
-
- All Implemented Interfaces:
public final class ResponsesClientEvent.ContextManagement
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponsesClientEvent.ContextManagement.BuilderA builder for ContextManagement.
-
Method Summary
Modifier and Type Method Description final Stringtype()The context management entry type. final Optional<Long>compactThreshold()Token threshold at which compaction should be triggered for this entry. final JsonField<String>_type()Returns the raw JSON value of type. final JsonField<Long>_compactThreshold()Returns the raw JSON value of compactThreshold. final Map<String, JsonValue>_additionalProperties()final ResponsesClientEvent.ContextManagement.BuildertoBuilder()final ResponsesClientEvent.ContextManagementvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponsesClientEvent.ContextManagement.Builderbuilder()Returns a mutable builder for constructing an instance of ContextManagement. -
-
Method Detail
-
type
final String type()
The context management entry type. Currently only 'compaction' is supported.
-
compactThreshold
final Optional<Long> compactThreshold()
Token threshold at which compaction should be triggered for this entry.
-
_type
final JsonField<String> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_compactThreshold
final JsonField<Long> _compactThreshold()
Returns the raw JSON value of compactThreshold.
Unlike compactThreshold, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResponsesClientEvent.ContextManagement.Builder toBuilder()
-
validate
final ResponsesClientEvent.ContextManagement validate()
-
builder
final static ResponsesClientEvent.ContextManagement.Builder builder()
Returns a mutable builder for constructing an instance of ContextManagement.
The following fields are required:
.type()
-
-
-
-