Class: ClaudeAgentSDK::HookProgressMessage
- Inherits:
-
SystemMessage
- Object
- SystemMessage
- ClaudeAgentSDK::HookProgressMessage
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
Hook progress system message
Instance Attribute Summary collapse
-
#hook_event ⇒ Object
Returns the value of attribute hook_event.
-
#hook_id ⇒ Object
Returns the value of attribute hook_id.
-
#hook_name ⇒ Object
Returns the value of attribute hook_name.
-
#output ⇒ Object
Returns the value of attribute output.
-
#session_id ⇒ Object
Returns the value of attribute session_id.
-
#stderr ⇒ Object
Returns the value of attribute stderr.
-
#stdout ⇒ Object
Returns the value of attribute stdout.
-
#uuid ⇒ Object
Returns the value of attribute uuid.
Attributes inherited from SystemMessage
Instance Method Summary collapse
-
#initialize(subtype:, data:, uuid: nil, session_id: nil, hook_id: nil, hook_name: nil, hook_event: nil, stdout: nil, stderr: nil, output: nil) ⇒ HookProgressMessage
constructor
A new instance of HookProgressMessage.
Constructor Details
#initialize(subtype:, data:, uuid: nil, session_id: nil, hook_id: nil, hook_name: nil, hook_event: nil, stdout: nil, stderr: nil, output: nil) ⇒ HookProgressMessage
Returns a new instance of HookProgressMessage.
290 291 292 293 294 295 296 297 298 299 300 301 |
# File 'lib/claude_agent_sdk/types.rb', line 290 def initialize(subtype:, data:, uuid: nil, session_id: nil, hook_id: nil, hook_name: nil, hook_event: nil, stdout: nil, stderr: nil, output: nil) super(subtype: subtype, data: data) @uuid = uuid @session_id = session_id @hook_id = hook_id @hook_name = hook_name @hook_event = hook_event @stdout = stdout @stderr = stderr @output = output end |
Instance Attribute Details
#hook_event ⇒ Object
Returns the value of attribute hook_event.
288 289 290 |
# File 'lib/claude_agent_sdk/types.rb', line 288 def hook_event @hook_event end |
#hook_id ⇒ Object
Returns the value of attribute hook_id.
288 289 290 |
# File 'lib/claude_agent_sdk/types.rb', line 288 def hook_id @hook_id end |
#hook_name ⇒ Object
Returns the value of attribute hook_name.
288 289 290 |
# File 'lib/claude_agent_sdk/types.rb', line 288 def hook_name @hook_name end |
#output ⇒ Object
Returns the value of attribute output.
288 289 290 |
# File 'lib/claude_agent_sdk/types.rb', line 288 def output @output end |
#session_id ⇒ Object
Returns the value of attribute session_id.
288 289 290 |
# File 'lib/claude_agent_sdk/types.rb', line 288 def session_id @session_id end |
#stderr ⇒ Object
Returns the value of attribute stderr.
288 289 290 |
# File 'lib/claude_agent_sdk/types.rb', line 288 def stderr @stderr end |
#stdout ⇒ Object
Returns the value of attribute stdout.
288 289 290 |
# File 'lib/claude_agent_sdk/types.rb', line 288 def stdout @stdout end |
#uuid ⇒ Object
Returns the value of attribute uuid.
288 289 290 |
# File 'lib/claude_agent_sdk/types.rb', line 288 def uuid @uuid end |