Class: ClaudeAgentSDK::TaskCreatedHookInput
- Inherits:
-
BaseHookInput
- Object
- BaseHookInput
- ClaudeAgentSDK::TaskCreatedHookInput
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
TaskCreated hook input
Instance Attribute Summary collapse
-
#hook_event_name ⇒ Object
Returns the value of attribute hook_event_name.
-
#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, #permission_mode, #session_id, #transcript_path
Instance Method Summary collapse
-
#initialize(hook_event_name: 'TaskCreated', task_id: nil, task_subject: nil, task_description: nil, teammate_name: nil, team_name: nil, **base_args) ⇒ TaskCreatedHookInput
constructor
A new instance of TaskCreatedHookInput.
Constructor Details
#initialize(hook_event_name: 'TaskCreated', task_id: nil, task_subject: nil, task_description: nil, teammate_name: nil, team_name: nil, **base_args) ⇒ TaskCreatedHookInput
Returns a new instance of TaskCreatedHookInput.
1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 |
# File 'lib/claude_agent_sdk/types.rb', line 1036 def initialize(hook_event_name: 'TaskCreated', task_id: nil, task_subject: nil, task_description: nil, teammate_name: nil, team_name: nil, **base_args) super(**base_args) @hook_event_name = hook_event_name @task_id = task_id @task_subject = task_subject @task_description = task_description @teammate_name = teammate_name @team_name = team_name end |
Instance Attribute Details
#hook_event_name ⇒ Object
Returns the value of attribute hook_event_name.
1034 1035 1036 |
# File 'lib/claude_agent_sdk/types.rb', line 1034 def hook_event_name @hook_event_name end |
#task_description ⇒ Object
Returns the value of attribute task_description.
1034 1035 1036 |
# File 'lib/claude_agent_sdk/types.rb', line 1034 def task_description @task_description end |
#task_id ⇒ Object
Returns the value of attribute task_id.
1034 1035 1036 |
# File 'lib/claude_agent_sdk/types.rb', line 1034 def task_id @task_id end |
#task_subject ⇒ Object
Returns the value of attribute task_subject.
1034 1035 1036 |
# File 'lib/claude_agent_sdk/types.rb', line 1034 def task_subject @task_subject end |
#team_name ⇒ Object
Returns the value of attribute team_name.
1034 1035 1036 |
# File 'lib/claude_agent_sdk/types.rb', line 1034 def team_name @team_name end |
#teammate_name ⇒ Object
Returns the value of attribute teammate_name.
1034 1035 1036 |
# File 'lib/claude_agent_sdk/types.rb', line 1034 def teammate_name @teammate_name end |