Class: Copilot::SessionLifecycleMetadata
- Inherits:
-
Struct
- Object
- Struct
- Copilot::SessionLifecycleMetadata
- Defined in:
- lib/copilot/types.rb
Overview
Session lifecycle event metadata.
Instance Attribute Summary collapse
-
#modified_time ⇒ Object
Returns the value of attribute modified_time.
-
#start_time ⇒ Object
Returns the value of attribute start_time.
-
#summary ⇒ Object
Returns the value of attribute summary.
Class Method Summary collapse
Instance Attribute Details
#modified_time ⇒ Object
Returns the value of attribute modified_time
534 535 536 |
# File 'lib/copilot/types.rb', line 534 def modified_time @modified_time end |
#start_time ⇒ Object
Returns the value of attribute start_time
534 535 536 |
# File 'lib/copilot/types.rb', line 534 def start_time @start_time end |
#summary ⇒ Object
Returns the value of attribute summary
534 535 536 |
# File 'lib/copilot/types.rb', line 534 def summary @summary end |
Class Method Details
.from_hash(h) ⇒ Object
535 536 537 538 539 540 541 |
# File 'lib/copilot/types.rb', line 535 def self.from_hash(h) new( start_time: h["startTime"], modified_time: h["modifiedTime"], summary: h["summary"] ) end |