Class: Copilot::ExitPlanModeRequest

Inherits:
Struct
  • Object
show all
Defined in:
lib/copilot/types.rb

Overview

Exit plan mode request from the server.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#session_idObject

Returns the value of attribute session_id

Returns:

  • (Object)

    the current value of session_id



473
474
475
# File 'lib/copilot/types.rb', line 473

def session_id
  @session_id
end

Class Method Details

.from_hash(h) ⇒ Object



474
475
476
# File 'lib/copilot/types.rb', line 474

def self.from_hash(h)
  new(session_id: h["sessionId"])
end