Class: Cline::SessionData::Metadata
- Inherits:
-
Cline::Schema
- Object
- Shale::Mapper
- Cline::Schema
- Cline::SessionData::Metadata
- Defined in:
- lib/cline/session_data.rb
Overview
Session metadata
Defined Under Namespace
Classes: Checkpoint, Usage
Instance Attribute Summary
Attributes inherited from Cline::Schema
Public API collapse
-
#aggregate_usage ⇒ Usage
Aggregate usage statistics.
-
#aggregated_agents_cost ⇒ Float
Aggregated agents cost.
-
#checkpoint ⇒ Checkpoint
Checkpoint information.
-
#title ⇒ String
Title of the session.
-
#total_cost ⇒ Float
Total cost of the session.
-
#usage ⇒ Usage
Usage statistics.
Methods inherited from Cline::Schema
#==, as_hash, cast, cline_snake_attributes, of_hash, #to_cline_json, #to_hash
Instance Method Details
#aggregate_usage ⇒ Usage
Returns Aggregate usage statistics.
76 |
# File 'lib/cline/session_data.rb', line 76 attribute :aggregate_usage, Usage |
#aggregated_agents_cost ⇒ Float
Returns Aggregated agents cost.
70 |
# File 'lib/cline/session_data.rb', line 70 attribute :aggregated_agents_cost, :float |
#checkpoint ⇒ Checkpoint
Returns Checkpoint information.
61 |
# File 'lib/cline/session_data.rb', line 61 attribute :checkpoint, Checkpoint |
#title ⇒ String
Returns Title of the session.
64 |
# File 'lib/cline/session_data.rb', line 64 attribute :title, :string |
#total_cost ⇒ Float
Returns Total cost of the session.
67 |
# File 'lib/cline/session_data.rb', line 67 attribute :total_cost, :float |