Class: Anthropic::Models::Beta::BetaManagedAgentsSessionStats
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaManagedAgentsSessionStats
- Defined in:
- lib/anthropic/models/beta/beta_managed_agents_session_stats.rb,
sig/anthropic/models/beta/beta_managed_agents_session_stats.rbs
Instance Attribute Summary collapse
-
#active_seconds ⇒ Float?
Cumulative time in seconds the session spent in running status.
-
#duration_seconds ⇒ Float?
Elapsed time since session creation in seconds.
Instance Method Summary collapse
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ void
18 |
# File 'sig/anthropic/models/beta/beta_managed_agents_session_stats.rbs', line 18 def initialize: ( |
Instance Attribute Details
#active_seconds ⇒ Float?
Cumulative time in seconds the session spent in running status. Excludes idle time.
12 |
# File 'lib/anthropic/models/beta/beta_managed_agents_session_stats.rb', line 12 optional :active_seconds, Float |
#duration_seconds ⇒ Float?
Elapsed time since session creation in seconds. For terminated sessions, frozen at the final update.
19 |
# File 'lib/anthropic/models/beta/beta_managed_agents_session_stats.rb', line 19 optional :duration_seconds, Float |
Instance Method Details
#to_hash ⇒ { active_seconds: Float, duration_seconds: Float }
23 |
# File 'sig/anthropic/models/beta/beta_managed_agents_session_stats.rbs', line 23 def to_hash: -> { active_seconds: Float, duration_seconds: Float } |