Class: ClaudeAgentSDK::TeammateIdleHookInput
- Inherits:
-
BaseHookInput
- Object
- BaseHookInput
- ClaudeAgentSDK::TeammateIdleHookInput
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
TeammateIdle hook input
Instance Attribute Summary collapse
-
#hook_event_name ⇒ Object
Returns the value of attribute hook_event_name.
-
#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: 'TeammateIdle', teammate_name: nil, team_name: nil, **base_args) ⇒ TeammateIdleHookInput
constructor
A new instance of TeammateIdleHookInput.
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_name ⇒ Object
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_name ⇒ Object
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_name ⇒ Object
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 |