Class: ClaudeAgentSDK::ElicitationResultHookInput
- Inherits:
-
BaseHookInput
- Object
- Type
- BaseHookInput
- ClaudeAgentSDK::ElicitationResultHookInput
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
ElicitationResult hook input
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#content ⇒ Object
Returns the value of attribute content.
-
#elicitation_id ⇒ Object
Returns the value of attribute elicitation_id.
-
#mcp_server_name ⇒ Object
Returns the value of attribute mcp_server_name.
-
#mode ⇒ Object
Returns the value of attribute mode.
Attributes inherited from BaseHookInput
#cwd, #hook_event_name, #permission_mode, #session_id, #transcript_path
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ ElicitationResultHookInput
constructor
A new instance of ElicitationResultHookInput.
Methods inherited from Type
#[], #[]=, from_hash, #to_h, wrap
Constructor Details
#initialize(attributes = {}) ⇒ ElicitationResultHookInput
Returns a new instance of ElicitationResultHookInput.
848 849 850 851 |
# File 'lib/claude_agent_sdk/types.rb', line 848 def initialize(attributes = {}) super @hook_event_name = 'ElicitationResult' end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ClaudeAgentSDK::Type
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action.
846 847 848 |
# File 'lib/claude_agent_sdk/types.rb', line 846 def action @action end |
#content ⇒ Object
Returns the value of attribute content.
846 847 848 |
# File 'lib/claude_agent_sdk/types.rb', line 846 def content @content end |
#elicitation_id ⇒ Object
Returns the value of attribute elicitation_id.
846 847 848 |
# File 'lib/claude_agent_sdk/types.rb', line 846 def elicitation_id @elicitation_id end |
#mcp_server_name ⇒ Object
Returns the value of attribute mcp_server_name.
846 847 848 |
# File 'lib/claude_agent_sdk/types.rb', line 846 def mcp_server_name @mcp_server_name end |
#mode ⇒ Object
Returns the value of attribute mode.
846 847 848 |
# File 'lib/claude_agent_sdk/types.rb', line 846 def mode @mode end |