Class: ClaudeAgentSDK::PromptSuggestionMessage
- Inherits:
-
Object
- Object
- ClaudeAgentSDK::PromptSuggestionMessage
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
Prompt suggestion message (type: ‘prompt_suggestion’)
Instance Attribute Summary collapse
-
#session_id ⇒ Object
Returns the value of attribute session_id.
-
#suggestion ⇒ Object
Returns the value of attribute suggestion.
-
#uuid ⇒ Object
Returns the value of attribute uuid.
Instance Method Summary collapse
-
#initialize(uuid: nil, session_id: nil, suggestion: nil) ⇒ PromptSuggestionMessage
constructor
A new instance of PromptSuggestionMessage.
Constructor Details
#initialize(uuid: nil, session_id: nil, suggestion: nil) ⇒ PromptSuggestionMessage
Returns a new instance of PromptSuggestionMessage.
532 533 534 535 536 |
# File 'lib/claude_agent_sdk/types.rb', line 532 def initialize(uuid: nil, session_id: nil, suggestion: nil) @uuid = uuid @session_id = session_id @suggestion = suggestion end |
Instance Attribute Details
#session_id ⇒ Object
Returns the value of attribute session_id.
530 531 532 |
# File 'lib/claude_agent_sdk/types.rb', line 530 def session_id @session_id end |
#suggestion ⇒ Object
Returns the value of attribute suggestion.
530 531 532 |
# File 'lib/claude_agent_sdk/types.rb', line 530 def suggestion @suggestion end |
#uuid ⇒ Object
Returns the value of attribute uuid.
530 531 532 |
# File 'lib/claude_agent_sdk/types.rb', line 530 def uuid @uuid end |