Class WebSearchResultBlockParam
-
- All Implemented Interfaces:
public final class WebSearchResultBlockParam
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classWebSearchResultBlockParam.BuilderA builder for WebSearchResultBlockParam.
-
Method Summary
Modifier and Type Method Description final StringencryptedContent()final Stringtitle()final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("web_search_result")final Stringurl()final Optional<String>pageAge()final JsonField<String>_encryptedContent()Returns the raw JSON value of encryptedContent. final JsonField<String>_title()Returns the raw JSON value of title. final JsonField<String>_url()Returns the raw JSON value of url. final JsonField<String>_pageAge()Returns the raw JSON value of pageAge. final Map<String, JsonValue>_additionalProperties()final WebSearchResultBlockParam.BuildertoBuilder()final WebSearchResultBlockParamvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static WebSearchResultBlockParam.Builderbuilder()Returns a mutable builder for constructing an instance of WebSearchResultBlockParam. -
-
Method Detail
-
encryptedContent
final String encryptedContent()
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("web_search_result")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_encryptedContent
final JsonField<String> _encryptedContent()
Returns the raw JSON value of encryptedContent.
Unlike encryptedContent, this method doesn't throw if the JSON field has an unexpected type.
-
_title
final JsonField<String> _title()
Returns the raw JSON value of title.
Unlike title, this method doesn't throw if the JSON field has an unexpected type.
-
_url
final JsonField<String> _url()
Returns the raw JSON value of url.
Unlike url, this method doesn't throw if the JSON field has an unexpected type.
-
_pageAge
final JsonField<String> _pageAge()
Returns the raw JSON value of pageAge.
Unlike pageAge, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final WebSearchResultBlockParam.Builder toBuilder()
-
validate
final WebSearchResultBlockParam validate()
-
builder
final static WebSearchResultBlockParam.Builder builder()
Returns a mutable builder for constructing an instance of WebSearchResultBlockParam.
The following fields are required:
.encryptedContent() .title() .url()
-
-
-
-