Package com.anthropic.models.messages
Class CompactionIncompleteTurnErrorDetails
-
- All Implemented Interfaces:
public final class CompactionIncompleteTurnErrorDetailsThe compaction request ends on an
assistantturn that is not finished.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCompactionIncompleteTurnErrorDetails.BuilderA builder for CompactionIncompleteTurnErrorDetails.
-
Method Summary
Modifier and Type Method Description final JsonValue_errorCode()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("compaction_incomplete_turn")final Map<String, JsonValue>_additionalProperties()final CompactionIncompleteTurnErrorDetails.BuildertoBuilder()final CompactionIncompleteTurnErrorDetailsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CompactionIncompleteTurnErrorDetails.Builderbuilder()Returns a mutable builder for constructing an instance of CompactionIncompleteTurnErrorDetails. -
-
Method Detail
-
_errorCode
final JsonValue _errorCode()
Expected to always return the following:
JsonValue.from("compaction_incomplete_turn")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final CompactionIncompleteTurnErrorDetails.Builder toBuilder()
-
validate
final CompactionIncompleteTurnErrorDetails 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 CompactionIncompleteTurnErrorDetails.Builder builder()
Returns a mutable builder for constructing an instance of CompactionIncompleteTurnErrorDetails.
-
-
-
-