Class BetaToolSearchToolSearchResultBlock.Builder
-
- All Implemented Interfaces:
public final class BetaToolSearchToolSearchResultBlock.BuilderA builder for BetaToolSearchToolSearchResultBlock.
-
-
Method Summary
-
-
Method Detail
-
toolReferences
final BetaToolSearchToolSearchResultBlock.Builder toolReferences(List<BetaToolReferenceBlock> toolReferences)
-
toolReferences
final BetaToolSearchToolSearchResultBlock.Builder toolReferences(JsonField<List<BetaToolReferenceBlock>> toolReferences)
Sets Builder.toolReferences to an arbitrary JSON value.
You should usually call Builder.toolReferences with a well-typed
List<BetaToolReferenceBlock>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addToolReference
final BetaToolSearchToolSearchResultBlock.Builder addToolReference(BetaToolReferenceBlock toolReference)
Adds a single BetaToolReferenceBlock to toolReferences.
-
type
final BetaToolSearchToolSearchResultBlock.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("tool_search_tool_search_result")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaToolSearchToolSearchResultBlock.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaToolSearchToolSearchResultBlock.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaToolSearchToolSearchResultBlock.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaToolSearchToolSearchResultBlock.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaToolSearchToolSearchResultBlock.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaToolSearchToolSearchResultBlock build()
Returns an immutable instance of BetaToolSearchToolSearchResultBlock.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.toolReferences()
-
-
-
-