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