Class: ClaudeAgentSDK::TaskCompletedHookInput

Inherits:
BaseHookInput show all
Defined in:
lib/claude_agent_sdk/types.rb

Overview

TaskCompleted hook input

Instance Attribute Summary collapse

Attributes inherited from BaseHookInput

#cwd, #hook_event_name, #permission_mode, #session_id, #transcript_path

Instance Method Summary collapse

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_descriptionObject

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_idObject

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_subjectObject

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_nameObject

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_nameObject

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