Class BetaResponseInputItem.MultiAgentCallOutput.Output
-
- All Implemented Interfaces:
public final class BetaResponseInputItem.MultiAgentCallOutput.Output
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaResponseInputItem.MultiAgentCallOutput.Output.BuilderA builder for Output.
public final classBetaResponseInputItem.MultiAgentCallOutput.Output.AnnotationsCitations associated with the text content.
-
Method Summary
Modifier and Type Method Description final Stringtext()The text content. final JsonValue_type()The content type. final Optional<BetaResponseInputItem.MultiAgentCallOutput.Output.Annotations>annotations()Citations associated with the text content. final JsonField<String>_text()Returns the raw JSON value of text. final JsonField<BetaResponseInputItem.MultiAgentCallOutput.Output.Annotations>_annotations()Returns the raw JSON value of annotations. final Map<String, JsonValue>_additionalProperties()final BetaResponseInputItem.MultiAgentCallOutput.Output.BuildertoBuilder()final BetaResponseInputItem.MultiAgentCallOutput.Outputvalidate()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.Builderbuilder()Returns a mutable builder for constructing an instance of Output. -
-
Method Detail
-
_type
final JsonValue _type()
The content type. Always
output_text.Expected to always return the following:
JsonValue.from("output_text")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
annotations
final Optional<BetaResponseInputItem.MultiAgentCallOutput.Output.Annotations> annotations()
Citations associated with the text content.
-
_text
final JsonField<String> _text()
Returns the raw JSON value of text.
Unlike text, this method doesn't throw if the JSON field has an unexpected type.
-
_annotations
final JsonField<BetaResponseInputItem.MultiAgentCallOutput.Output.Annotations> _annotations()
Returns the raw JSON value of annotations.
Unlike annotations, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaResponseInputItem.MultiAgentCallOutput.Output.Builder toBuilder()
-
validate
final BetaResponseInputItem.MultiAgentCallOutput.Output 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.Builder builder()
Returns a mutable builder for constructing an instance of Output.
The following fields are required:
.text()
-
-
-
-