Class: ClaudeAgentSDK::TaskCreatedHookInput

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

Overview

TaskCreated 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 = {}) ⇒ 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_descriptionObject

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_idObject

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_subjectObject

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_nameObject

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_nameObject

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