Class BetaWebSearchResultBlockParam
-
- All Implemented Interfaces:
public final class BetaWebSearchResultBlockParam
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaWebSearchResultBlockParam.BuilderA builder for BetaWebSearchResultBlockParam.
-
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 BetaWebSearchResultBlockParam.BuildertoBuilder()final BetaWebSearchResultBlockParamvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaWebSearchResultBlockParam.Builderbuilder()Returns a mutable builder for constructing an instance of BetaWebSearchResultBlockParam. -
-
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 BetaWebSearchResultBlockParam.Builder toBuilder()
-
validate
final BetaWebSearchResultBlockParam validate()
-
builder
final static BetaWebSearchResultBlockParam.Builder builder()
Returns a mutable builder for constructing an instance of BetaWebSearchResultBlockParam.
The following fields are required:
.encryptedContent() .title() .url()
-
-
-
-