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