Class BetaContextManagementConfig
-
- All Implemented Interfaces:
public final class BetaContextManagementConfig
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaContextManagementConfig.BuilderA builder for BetaContextManagementConfig.
public final classBetaContextManagementConfig.EditAutomatically compact older context when reaching the configured trigger threshold.
-
Method Summary
Modifier and Type Method Description final Optional<List<BetaContextManagementConfig.Edit>>edits()List of context management edits to apply final JsonField<List<BetaContextManagementConfig.Edit>>_edits()Returns the raw JSON value of edits. final Map<String, JsonValue>_additionalProperties()final BetaContextManagementConfig.BuildertoBuilder()final BetaContextManagementConfigvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaContextManagementConfig.Builderbuilder()Returns a mutable builder for constructing an instance of BetaContextManagementConfig. -
-
Method Detail
-
edits
final Optional<List<BetaContextManagementConfig.Edit>> edits()
List of context management edits to apply
-
_edits
final JsonField<List<BetaContextManagementConfig.Edit>> _edits()
Returns the raw JSON value of edits.
Unlike edits, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaContextManagementConfig.Builder toBuilder()
-
validate
final BetaContextManagementConfig validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaContextManagementConfig.Builder builder()
Returns a mutable builder for constructing an instance of BetaContextManagementConfig.
-
-
-
-