Class: ClaudeAgentSDK::SubagentStartHookInput
- Inherits:
-
BaseHookInput
- Object
- Type
- BaseHookInput
- ClaudeAgentSDK::SubagentStartHookInput
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
SubagentStart hook input
Instance Attribute Summary collapse
-
#agent_id ⇒ Object
Returns the value of attribute agent_id.
-
#agent_type ⇒ Object
Returns the value of attribute agent_type.
Attributes inherited from BaseHookInput
#cwd, #hook_event_name, #permission_mode, #session_id, #transcript_path
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ SubagentStartHookInput
constructor
A new instance of SubagentStartHookInput.
Methods inherited from Type
#[], #[]=, from_hash, #to_h, wrap
Constructor Details
#initialize(attributes = {}) ⇒ SubagentStartHookInput
Returns a new instance of SubagentStartHookInput.
653 654 655 656 |
# File 'lib/claude_agent_sdk/types.rb', line 653 def initialize(attributes = {}) super @hook_event_name = 'SubagentStart' end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ClaudeAgentSDK::Type
Instance Attribute Details
#agent_id ⇒ Object
Returns the value of attribute agent_id.
651 652 653 |
# File 'lib/claude_agent_sdk/types.rb', line 651 def agent_id @agent_id end |
#agent_type ⇒ Object
Returns the value of attribute agent_type.
651 652 653 |
# File 'lib/claude_agent_sdk/types.rb', line 651 def agent_type @agent_type end |