Package com.anthropic.models.messages
Class ThinkingBlockParam
-
- All Implemented Interfaces:
public final class ThinkingBlockParam
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classThinkingBlockParam.BuilderA builder for ThinkingBlockParam.
-
Method Summary
Modifier and Type Method Description final Stringsignature()final Stringthinking()final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("thinking")final JsonField<String>_signature()Returns the raw JSON value of signature. final JsonField<String>_thinking()Returns the raw JSON value of thinking. final Map<String, JsonValue>_additionalProperties()final ThinkingBlockParam.BuildertoBuilder()final ThinkingBlockParamvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ThinkingBlockParam.Builderbuilder()Returns a mutable builder for constructing an instance of ThinkingBlockParam. -
-
Method Detail
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("thinking")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_signature
final JsonField<String> _signature()
Returns the raw JSON value of signature.
Unlike signature, this method doesn't throw if the JSON field has an unexpected type.
-
_thinking
final JsonField<String> _thinking()
Returns the raw JSON value of thinking.
Unlike thinking, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ThinkingBlockParam.Builder toBuilder()
-
validate
final ThinkingBlockParam 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 ThinkingBlockParam.Builder builder()
Returns a mutable builder for constructing an instance of ThinkingBlockParam.
The following fields are required:
.signature() .thinking()
-
-
-
-