Package com.anthropic.models.messages
Class ThreadNotFoundErrorDetails
-
- All Implemented Interfaces:
public final class ThreadNotFoundErrorDetailsNo usable Thread state was found for
previous_message_id. Replay the full conversation withthread: {"type": "create"}to start a new Thread.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classThreadNotFoundErrorDetails.BuilderA builder for ThreadNotFoundErrorDetails.
-
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_not_found")final Map<String, JsonValue>_additionalProperties()final ThreadNotFoundErrorDetails.BuildertoBuilder()final ThreadNotFoundErrorDetailsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ThreadNotFoundErrorDetails.Builderbuilder()Returns a mutable builder for constructing an instance of ThreadNotFoundErrorDetails. -
-
Method Detail
-
_errorCode
final JsonValue _errorCode()
Expected to always return the following:
JsonValue.from("thread_not_found")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 ThreadNotFoundErrorDetails.Builder toBuilder()
-
validate
final ThreadNotFoundErrorDetails 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 ThreadNotFoundErrorDetails.Builder builder()
Returns a mutable builder for constructing an instance of ThreadNotFoundErrorDetails.
-
-
-
-