Package com.anthropic.models.messages
Class ThreadAlreadyContinuedErrorDetails
-
- All Implemented Interfaces:
public final class ThreadAlreadyContinuedErrorDetailsThe response that
previous_message_idnames has already been continued, and each response can be continued only once. Continue from the Thread's most recent responseid.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classThreadAlreadyContinuedErrorDetails.BuilderA builder for ThreadAlreadyContinuedErrorDetails.
-
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("thread_already_continued")final Map<String, JsonValue>_additionalProperties()final ThreadAlreadyContinuedErrorDetails.BuildertoBuilder()final ThreadAlreadyContinuedErrorDetailsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ThreadAlreadyContinuedErrorDetails.Builderbuilder()Returns a mutable builder for constructing an instance of ThreadAlreadyContinuedErrorDetails. -
-
Method Detail
-
_errorCode
final JsonValue _errorCode()
Expected to always return the following:
JsonValue.from("thread_already_continued")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 ThreadAlreadyContinuedErrorDetails.Builder toBuilder()
-
validate
final ThreadAlreadyContinuedErrorDetails 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 ThreadAlreadyContinuedErrorDetails.Builder builder()
Returns a mutable builder for constructing an instance of ThreadAlreadyContinuedErrorDetails.
-
-
-
-