Class: ClaudeAgentSDK::TaskCompletedHookInput
- Inherits:
-
BaseHookInput
- Object
- Type
- BaseHookInput
- ClaudeAgentSDK::TaskCompletedHookInput
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
TaskCompleted 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 = {}) ⇒ TaskCompletedHookInput
constructor
A new instance of TaskCompletedHookInput.
Methods inherited from Type
#[], #[]=, from_hash, #to_h, wrap
Constructor Details
#initialize(attributes = {}) ⇒ TaskCompletedHookInput
Returns a new instance of TaskCompletedHookInput.
723 724 725 726 |
# File 'lib/claude_agent_sdk/types.rb', line 723 def initialize(attributes = {}) super @hook_event_name = 'TaskCompleted' 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.
721 722 723 |
# File 'lib/claude_agent_sdk/types.rb', line 721 def task_description @task_description end |
#task_id ⇒ Object
Returns the value of attribute task_id.
721 722 723 |
# File 'lib/claude_agent_sdk/types.rb', line 721 def task_id @task_id end |
#task_subject ⇒ Object
Returns the value of attribute task_subject.
721 722 723 |
# File 'lib/claude_agent_sdk/types.rb', line 721 def task_subject @task_subject end |
#team_name ⇒ Object
Returns the value of attribute team_name.
721 722 723 |
# File 'lib/claude_agent_sdk/types.rb', line 721 def team_name @team_name end |
#teammate_name ⇒ Object
Returns the value of attribute teammate_name.
721 722 723 |
# File 'lib/claude_agent_sdk/types.rb', line 721 def teammate_name @teammate_name end |