Class BetaManagedAgentsSessionErrorEvent
-
- All Implemented Interfaces:
public final class BetaManagedAgentsSessionErrorEventAn error event indicating a problem occurred during session execution.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsSessionErrorEvent.BuilderA builder for BetaManagedAgentsSessionErrorEvent.
public final classBetaManagedAgentsSessionErrorEvent.ErrorAn unknown or unexpected error occurred during session execution. A fallback variant; clients that don't recognize a new error code can match on
retry_statusandmessagealone.public final classBetaManagedAgentsSessionErrorEvent.Type
-
Method Summary
Modifier and Type Method Description final Stringid()Unique identifier for this event. final BetaManagedAgentsSessionErrorEvent.Errorerror()An unknown or unexpected error occurred during session execution. final OffsetDateTimeprocessedAt()A timestamp in RFC 3339 format final BetaManagedAgentsSessionErrorEvent.Typetype()final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<BetaManagedAgentsSessionErrorEvent.Error>_error()Returns the raw JSON value of error. final JsonField<OffsetDateTime>_processedAt()Returns the raw JSON value of processedAt. final JsonField<BetaManagedAgentsSessionErrorEvent.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsSessionErrorEvent.BuildertoBuilder()final BetaManagedAgentsSessionErrorEventvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsSessionErrorEvent.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsSessionErrorEvent. -
-
Method Detail
-
error
final BetaManagedAgentsSessionErrorEvent.Error error()
An unknown or unexpected error occurred during session execution. A fallback variant; clients that don't recognize a new error code can match on
retry_statusandmessagealone.
-
processedAt
final OffsetDateTime processedAt()
A timestamp in RFC 3339 format
-
type
final BetaManagedAgentsSessionErrorEvent.Type type()
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_error
final JsonField<BetaManagedAgentsSessionErrorEvent.Error> _error()
Returns the raw JSON value of error.
Unlike error, this method doesn't throw if the JSON field has an unexpected type.
-
_processedAt
final JsonField<OffsetDateTime> _processedAt()
Returns the raw JSON value of processedAt.
Unlike processedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<BetaManagedAgentsSessionErrorEvent.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 BetaManagedAgentsSessionErrorEvent.Builder toBuilder()
-
validate
final BetaManagedAgentsSessionErrorEvent 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 BetaManagedAgentsSessionErrorEvent.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsSessionErrorEvent.
The following fields are required:
.id() .error() .processedAt() .type()
-
-
-
-