Class: ClaudeAgentSDK::TeammateIdleHookInput

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

Overview

TeammateIdle hook input

Instance Attribute Summary collapse

Attributes inherited from BaseHookInput

#cwd, #permission_mode, #session_id, #transcript_path

Instance Method Summary collapse

Constructor Details

#initialize(hook_event_name: 'TeammateIdle', teammate_name: nil, team_name: nil, **base_args) ⇒ TeammateIdleHookInput

Returns a new instance of TeammateIdleHookInput.



931
932
933
934
935
936
# File 'lib/claude_agent_sdk/types.rb', line 931

def initialize(hook_event_name: 'TeammateIdle', teammate_name: nil, team_name: nil, **base_args)
  super(**base_args)
  @hook_event_name = hook_event_name
  @teammate_name = teammate_name
  @team_name = team_name
end

Instance Attribute Details

#hook_event_nameObject

Returns the value of attribute hook_event_name.



929
930
931
# File 'lib/claude_agent_sdk/types.rb', line 929

def hook_event_name
  @hook_event_name
end

#team_nameObject

Returns the value of attribute team_name.



929
930
931
# File 'lib/claude_agent_sdk/types.rb', line 929

def team_name
  @team_name
end

#teammate_nameObject

Returns the value of attribute teammate_name.



929
930
931
# File 'lib/claude_agent_sdk/types.rb', line 929

def teammate_name
  @teammate_name
end