Class BetaCitationsWebSearchResultLocation
-
- All Implemented Interfaces:
public final class BetaCitationsWebSearchResultLocation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaCitationsWebSearchResultLocation.BuilderA builder for BetaCitationsWebSearchResultLocation.
-
Method Summary
Modifier and Type Method Description final BetaCitationWebSearchResultLocationParamtoParam()final StringcitedText()final StringencryptedIndex()final Optional<String>title()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_location")final Stringurl()final JsonField<String>_citedText()Returns the raw JSON value of citedText. final JsonField<String>_encryptedIndex()Returns the raw JSON value of encryptedIndex. final JsonField<String>_title()Returns the raw JSON value of title. final JsonField<String>_url()Returns the raw JSON value of url. final Map<String, JsonValue>_additionalProperties()final BetaCitationsWebSearchResultLocation.BuildertoBuilder()final BetaCitationsWebSearchResultLocationvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaCitationsWebSearchResultLocation.Builderbuilder()Returns a mutable builder for constructing an instance of BetaCitationsWebSearchResultLocation. -
-
Method Detail
-
toParam
final BetaCitationWebSearchResultLocationParam toParam()
-
encryptedIndex
final String encryptedIndex()
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("web_search_result_location")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_citedText
final JsonField<String> _citedText()
Returns the raw JSON value of citedText.
Unlike citedText, this method doesn't throw if the JSON field has an unexpected type.
-
_encryptedIndex
final JsonField<String> _encryptedIndex()
Returns the raw JSON value of encryptedIndex.
Unlike encryptedIndex, 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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaCitationsWebSearchResultLocation.Builder toBuilder()
-
validate
final BetaCitationsWebSearchResultLocation validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaCitationsWebSearchResultLocation.Builder builder()
Returns a mutable builder for constructing an instance of BetaCitationsWebSearchResultLocation.
The following fields are required:
.citedText() .encryptedIndex() .title() .url()
-
-
-
-