Class BetaManagedAgentsSessionStats
-
- All Implemented Interfaces:
public final class BetaManagedAgentsSessionStatsTiming statistics for a session.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsSessionStats.BuilderA builder for BetaManagedAgentsSessionStats.
-
Method Summary
Modifier and Type Method Description final Optional<Double>activeSeconds()Cumulative time in seconds the session spent in running status. final Optional<Double>durationSeconds()Elapsed time since session creation in seconds. final JsonField<Double>_activeSeconds()Returns the raw JSON value of activeSeconds. final JsonField<Double>_durationSeconds()Returns the raw JSON value of durationSeconds. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsSessionStats.BuildertoBuilder()final BetaManagedAgentsSessionStatsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsSessionStats.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsSessionStats. -
-
Method Detail
-
activeSeconds
final Optional<Double> activeSeconds()
Cumulative time in seconds the session spent in running status. Excludes idle time.
-
durationSeconds
final Optional<Double> durationSeconds()
Elapsed time since session creation in seconds. For terminated sessions, frozen at the final update.
-
_activeSeconds
final JsonField<Double> _activeSeconds()
Returns the raw JSON value of activeSeconds.
Unlike activeSeconds, this method doesn't throw if the JSON field has an unexpected type.
-
_durationSeconds
final JsonField<Double> _durationSeconds()
Returns the raw JSON value of durationSeconds.
Unlike durationSeconds, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsSessionStats.Builder toBuilder()
-
validate
final BetaManagedAgentsSessionStats 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 BetaManagedAgentsSessionStats.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsSessionStats.
-
-
-
-