Class: ClaudeAgentSDK::HookStartedMessage
- Inherits:
-
SystemMessage
- Object
- SystemMessage
- ClaudeAgentSDK::HookStartedMessage
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
Hook started 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.
-
#session_id ⇒ Object
Returns the value of attribute session_id.
-
#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) ⇒ HookStartedMessage
constructor
A new instance of HookStartedMessage.
Constructor Details
#initialize(subtype:, data:, uuid: nil, session_id: nil, hook_id: nil, hook_name: nil, hook_event: nil) ⇒ HookStartedMessage
Returns a new instance of HookStartedMessage.
276 277 278 279 280 281 282 283 |
# File 'lib/claude_agent_sdk/types.rb', line 276 def initialize(subtype:, data:, uuid: nil, session_id: nil, hook_id: nil, hook_name: nil, hook_event: nil) super(subtype: subtype, data: data) @uuid = uuid @session_id = session_id @hook_id = hook_id @hook_name = hook_name @hook_event = hook_event end |
Instance Attribute Details
#hook_event ⇒ Object
Returns the value of attribute hook_event.
274 275 276 |
# File 'lib/claude_agent_sdk/types.rb', line 274 def hook_event @hook_event end |
#hook_id ⇒ Object
Returns the value of attribute hook_id.
274 275 276 |
# File 'lib/claude_agent_sdk/types.rb', line 274 def hook_id @hook_id end |
#hook_name ⇒ Object
Returns the value of attribute hook_name.
274 275 276 |
# File 'lib/claude_agent_sdk/types.rb', line 274 def hook_name @hook_name end |
#session_id ⇒ Object
Returns the value of attribute session_id.
274 275 276 |
# File 'lib/claude_agent_sdk/types.rb', line 274 def session_id @session_id end |
#uuid ⇒ Object
Returns the value of attribute uuid.
274 275 276 |
# File 'lib/claude_agent_sdk/types.rb', line 274 def uuid @uuid end |