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.
814 815 816 817 |
# File 'lib/claude_agent_sdk/types.rb', line 814 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.
812 813 814 |
# File 'lib/claude_agent_sdk/types.rb', line 812 def action @action end |
#content ⇒ Object
Returns the value of attribute content.
812 813 814 |
# File 'lib/claude_agent_sdk/types.rb', line 812 def content @content end |
#elicitation_id ⇒ Object
Returns the value of attribute elicitation_id.
812 813 814 |
# File 'lib/claude_agent_sdk/types.rb', line 812 def elicitation_id @elicitation_id end |
#mcp_server_name ⇒ Object
Returns the value of attribute mcp_server_name.
812 813 814 |
# File 'lib/claude_agent_sdk/types.rb', line 812 def mcp_server_name @mcp_server_name end |
#mode ⇒ Object
Returns the value of attribute mode.
812 813 814 |
# File 'lib/claude_agent_sdk/types.rb', line 812 def mode @mode end |