Class: Cline::SessionData::Metadata

Inherits:
Cline::Schema
  • Object
show all
Defined in:
lib/cline/session_data.rb

Overview

Session metadata

Defined Under Namespace

Classes: Checkpoint, Usage

Instance Attribute Summary

Attributes inherited from Cline::Schema

#extra_attributes

Public API collapse

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.

Returns:

  • (Usage) —

    Aggregate usage statistics



76
# File 'lib/cline/session_data.rb', line 76

attribute :aggregate_usage, Usage

#aggregated_agents_cost ⇒ Float

Returns Aggregated agents cost.

Returns:

  • (Float) —

    Aggregated agents cost



70
# File 'lib/cline/session_data.rb', line 70

attribute :aggregated_agents_cost, :float

#checkpoint ⇒ Checkpoint

Returns Checkpoint information.

Returns:



61
# File 'lib/cline/session_data.rb', line 61

attribute :checkpoint, Checkpoint

#title ⇒ String

Returns Title of the session.

Returns:

  • (String) —

    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.

Returns:

  • (Float) —

    Total cost of the session



67
# File 'lib/cline/session_data.rb', line 67

attribute :total_cost, :float

#usage ⇒ Usage

Returns Usage statistics.

Returns:

  • (Usage) —

    Usage statistics



73
# File 'lib/cline/session_data.rb', line 73

attribute :usage, Usage