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, #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 = {}) ⇒ TeammateIdleHookInput

Returns a new instance of TeammateIdleHookInput.



713
714
715
716
# File 'lib/claude_agent_sdk/types.rb', line 713

def initialize(attributes = {})
  super
  @hook_event_name = 'TeammateIdle'
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ClaudeAgentSDK::Type

Instance Attribute Details

#team_nameObject

Returns the value of attribute team_name.



711
712
713
# File 'lib/claude_agent_sdk/types.rb', line 711

def team_name
  @team_name
end

#teammate_nameObject

Returns the value of attribute teammate_name.



711
712
713
# File 'lib/claude_agent_sdk/types.rb', line 711

def teammate_name
  @teammate_name
end