Class BetaManagedAgentsSessionDeletedEvent
-
- All Implemented Interfaces:
public final class BetaManagedAgentsSessionDeletedEventEmitted when a session has been deleted. Terminates any active event stream — no further events will be emitted for this session.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsSessionDeletedEvent.BuilderA builder for BetaManagedAgentsSessionDeletedEvent.
-
Method Summary
Modifier and Type Method Description final Stringid()Unique identifier for this event. final OffsetDateTimeprocessedAt()Timestamp when the session was deleted. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("session.deleted")final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<OffsetDateTime>_processedAt()Returns the raw JSON value of processedAt. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsSessionDeletedEvent.BuildertoBuilder()final BetaManagedAgentsSessionDeletedEventvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsSessionDeletedEvent.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsSessionDeletedEvent. -
-
Method Detail
-
processedAt
final OffsetDateTime processedAt()
Timestamp when the session was deleted.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("session.deleted")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_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.
-
_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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsSessionDeletedEvent.Builder toBuilder()
-
validate
final BetaManagedAgentsSessionDeletedEvent 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 BetaManagedAgentsSessionDeletedEvent.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsSessionDeletedEvent.
The following fields are required:
.id() .processedAt()
-
-
-
-