Class: ClaudeAgentSDK::TaskCreatedHookInput
- Inherits:
-
BaseHookInput
- Object
- Type
- BaseHookInput
- ClaudeAgentSDK::TaskCreatedHookInput
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
TaskCreated hook input
Instance Attribute Summary collapse
-
#task_description ⇒ Object
Returns the value of attribute task_description.
-
#task_id ⇒ Object
Returns the value of attribute task_id.
-
#task_subject ⇒ Object
Returns the value of attribute task_subject.
-
#team_name ⇒ Object
Returns the value of attribute team_name.
-
#teammate_name ⇒ Object
Returns the value of attribute teammate_name.
Attributes inherited from BaseHookInput
#cwd, #hook_event_name, #permission_mode, #session_id, #transcript_path
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ TaskCreatedHookInput
constructor
A new instance of TaskCreatedHookInput.
Methods inherited from Type
#[], #[]=, from_hash, #to_h, wrap
Constructor Details
#initialize(attributes = {}) ⇒ TaskCreatedHookInput
Returns a new instance of TaskCreatedHookInput.
793 794 795 796 |
# File 'lib/claude_agent_sdk/types.rb', line 793 def initialize(attributes = {}) super @hook_event_name = 'TaskCreated' end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ClaudeAgentSDK::Type
Instance Attribute Details
#task_description ⇒ Object
Returns the value of attribute task_description.
791 792 793 |
# File 'lib/claude_agent_sdk/types.rb', line 791 def task_description @task_description end |
#task_id ⇒ Object
Returns the value of attribute task_id.
791 792 793 |
# File 'lib/claude_agent_sdk/types.rb', line 791 def task_id @task_id end |
#task_subject ⇒ Object
Returns the value of attribute task_subject.
791 792 793 |
# File 'lib/claude_agent_sdk/types.rb', line 791 def task_subject @task_subject end |
#team_name ⇒ Object
Returns the value of attribute team_name.
791 792 793 |
# File 'lib/claude_agent_sdk/types.rb', line 791 def team_name @team_name end |
#teammate_name ⇒ Object
Returns the value of attribute teammate_name.
791 792 793 |
# File 'lib/claude_agent_sdk/types.rb', line 791 def teammate_name @teammate_name end |