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