Class BetaManagedAgentsSearchResultBlock
-
- All Implemented Interfaces:
public final class BetaManagedAgentsSearchResultBlockA block containing a web search result.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsSearchResultBlock.BuilderA builder for BetaManagedAgentsSearchResultBlock.
public final classBetaManagedAgentsSearchResultBlock.Type
-
Method Summary
Modifier and Type Method Description final BetaManagedAgentsSearchResultCitationscitations()Citation settings for a search result. final List<BetaManagedAgentsSearchResultContent>content()Array of text content blocks from the search result. final Stringsource()The URL source of the search result. final Stringtitle()The title of the search result. final BetaManagedAgentsSearchResultBlock.Typetype()final JsonField<BetaManagedAgentsSearchResultCitations>_citations()Returns the raw JSON value of citations. final JsonField<List<BetaManagedAgentsSearchResultContent>>_content()Returns the raw JSON value of content. final JsonField<String>_source()Returns the raw JSON value of source. final JsonField<String>_title()Returns the raw JSON value of title. final JsonField<BetaManagedAgentsSearchResultBlock.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsSearchResultBlock.BuildertoBuilder()final BetaManagedAgentsSearchResultBlockvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsSearchResultBlock.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsSearchResultBlock. -
-
Method Detail
-
citations
final BetaManagedAgentsSearchResultCitations citations()
Citation settings for a search result.
-
content
final List<BetaManagedAgentsSearchResultContent> content()
Array of text content blocks from the search result.
-
type
final BetaManagedAgentsSearchResultBlock.Type type()
-
_citations
final JsonField<BetaManagedAgentsSearchResultCitations> _citations()
Returns the raw JSON value of citations.
Unlike citations, this method doesn't throw if the JSON field has an unexpected type.
-
_content
final JsonField<List<BetaManagedAgentsSearchResultContent>> _content()
Returns the raw JSON value of content.
Unlike content, this method doesn't throw if the JSON field has an unexpected type.
-
_source
final JsonField<String> _source()
Returns the raw JSON value of source.
Unlike source, 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.
-
_type
final JsonField<BetaManagedAgentsSearchResultBlock.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsSearchResultBlock.Builder toBuilder()
-
validate
final BetaManagedAgentsSearchResultBlock 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 BetaManagedAgentsSearchResultBlock.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsSearchResultBlock.
The following fields are required:
.citations() .content() .source() .title() .type()
-
-
-
-