Class BetaManagedAgentsUserMessageEventParams
-
- All Implemented Interfaces:
public final class BetaManagedAgentsUserMessageEventParamsParameters for sending a user message to the session.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsUserMessageEventParams.BuilderA builder for BetaManagedAgentsUserMessageEventParams.
public final classBetaManagedAgentsUserMessageEventParams.ContentContent block in a user message. Can be
text,image, ordocument.public final classBetaManagedAgentsUserMessageEventParams.Type
-
Method Summary
Modifier and Type Method Description final List<BetaManagedAgentsUserMessageEventParams.Content>content()Array of content blocks for the user message. final BetaManagedAgentsUserMessageEventParams.Typetype()final JsonField<List<BetaManagedAgentsUserMessageEventParams.Content>>_content()Returns the raw JSON value of content. final JsonField<BetaManagedAgentsUserMessageEventParams.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsUserMessageEventParams.BuildertoBuilder()final BetaManagedAgentsUserMessageEventParamsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsUserMessageEventParams.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsUserMessageEventParams. -
-
Method Detail
-
content
final List<BetaManagedAgentsUserMessageEventParams.Content> content()
Array of content blocks for the user message.
-
type
final BetaManagedAgentsUserMessageEventParams.Type type()
-
_content
final JsonField<List<BetaManagedAgentsUserMessageEventParams.Content>> _content()
Returns the raw JSON value of content.
Unlike content, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<BetaManagedAgentsUserMessageEventParams.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 BetaManagedAgentsUserMessageEventParams.Builder toBuilder()
-
validate
final BetaManagedAgentsUserMessageEventParams 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 BetaManagedAgentsUserMessageEventParams.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsUserMessageEventParams.
The following fields are required:
.content() .type()
-
-
-
-