Class BetaManagedAgentsSessionStatusTerminatedEvent
-
- All Implemented Interfaces:
public final class BetaManagedAgentsSessionStatusTerminatedEventIndicates the session has terminated, either due to an error or completion.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsSessionStatusTerminatedEvent.BuilderA builder for BetaManagedAgentsSessionStatusTerminatedEvent.
-
Method Summary
Modifier and Type Method Description final Stringid()Unique identifier for this event. final OffsetDateTimeprocessedAt()Timestamp of status change. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("session.status_terminated")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 BetaManagedAgentsSessionStatusTerminatedEvent.BuildertoBuilder()final BetaManagedAgentsSessionStatusTerminatedEventvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsSessionStatusTerminatedEvent.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsSessionStatusTerminatedEvent. -
-
Method Detail
-
processedAt
final OffsetDateTime processedAt()
Timestamp of status change.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("session.status_terminated")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 BetaManagedAgentsSessionStatusTerminatedEvent.Builder toBuilder()
-
validate
final BetaManagedAgentsSessionStatusTerminatedEvent 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 BetaManagedAgentsSessionStatusTerminatedEvent.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsSessionStatusTerminatedEvent.
The following fields are required:
.id() .processedAt()
-
-
-
-