Class ThinkingBlock.Builder
-
- All Implemented Interfaces:
public final class ThinkingBlock.BuilderA builder for ThinkingBlock.
-
-
Method Summary
Modifier and Type Method Description final ThinkingBlock.Buildersignature(String signature)final ThinkingBlock.Buildersignature(JsonField<String> signature)Sets Builder.signature to an arbitrary JSON value. final ThinkingBlock.Builderthinking(String thinking)final ThinkingBlock.Builderthinking(JsonField<String> thinking)Sets Builder.thinking to an arbitrary JSON value. final ThinkingBlock.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final ThinkingBlock.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final ThinkingBlock.BuilderputAdditionalProperty(String key, JsonValue value)final ThinkingBlock.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final ThinkingBlock.BuilderremoveAdditionalProperty(String key)final ThinkingBlock.BuilderremoveAllAdditionalProperties(Set<String> keys)final ThinkingBlockbuild()Returns an immutable instance of ThinkingBlock. -
-
Method Detail
-
signature
final ThinkingBlock.Builder signature(String signature)
-
signature
final ThinkingBlock.Builder signature(JsonField<String> signature)
Sets Builder.signature to an arbitrary JSON value.
You should usually call Builder.signature with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
thinking
final ThinkingBlock.Builder thinking(String thinking)
-
thinking
final ThinkingBlock.Builder thinking(JsonField<String> thinking)
Sets Builder.thinking to an arbitrary JSON value.
You should usually call Builder.thinking with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final ThinkingBlock.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("thinking")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ThinkingBlock.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ThinkingBlock.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ThinkingBlock.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ThinkingBlock.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ThinkingBlock.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ThinkingBlock build()
Returns an immutable instance of ThinkingBlock.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.signature() .thinking()
-
-
-
-