Class BetaResponseInputItem.MultiAgentCallOutput.Output.Annotations.BetaUrlCitationParam
-
- All Implemented Interfaces:
public final class BetaResponseInputItem.MultiAgentCallOutput.Output.Annotations.BetaUrlCitationParam
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaResponseInputItem.MultiAgentCallOutput.Output.Annotations.BetaUrlCitationParam.BuilderA builder for BetaUrlCitationParam.
-
Method Summary
Modifier and Type Method Description final LongendIndex()The index of the last character of the citation in the message. final LongstartIndex()The index of the first character of the citation in the message. final Stringtitle()The title of the cited resource. final JsonValue_type()The citation type. final Stringurl()The URL of the cited resource. final JsonField<Long>_endIndex()Returns the raw JSON value of endIndex. final JsonField<Long>_startIndex()Returns the raw JSON value of startIndex. 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 BetaResponseInputItem.MultiAgentCallOutput.Output.Annotations.BetaUrlCitationParam.BuildertoBuilder()final BetaResponseInputItem.MultiAgentCallOutput.Output.Annotations.BetaUrlCitationParamvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaResponseInputItem.MultiAgentCallOutput.Output.Annotations.BetaUrlCitationParam.Builderbuilder()Returns a mutable builder for constructing an instance of BetaUrlCitationParam. -
-
Method Detail
-
startIndex
final Long startIndex()
The index of the first character of the citation in the message.
-
_type
final JsonValue _type()
The citation type. Always
url_citation.Expected to always return the following:
JsonValue.from("url_citation")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_endIndex
final JsonField<Long> _endIndex()
Returns the raw JSON value of endIndex.
Unlike endIndex, this method doesn't throw if the JSON field has an unexpected type.
-
_startIndex
final JsonField<Long> _startIndex()
Returns the raw JSON value of startIndex.
Unlike startIndex, 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 BetaResponseInputItem.MultiAgentCallOutput.Output.Annotations.BetaUrlCitationParam.Builder toBuilder()
-
validate
final BetaResponseInputItem.MultiAgentCallOutput.Output.Annotations.BetaUrlCitationParam 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 BetaResponseInputItem.MultiAgentCallOutput.Output.Annotations.BetaUrlCitationParam.Builder builder()
Returns a mutable builder for constructing an instance of BetaUrlCitationParam.
The following fields are required:
.endIndex() .startIndex() .title() .url()
-
-
-
-