Class: ClaudeAgentSDK::StreamEvent

Inherits:
Type
  • Object
show all
Defined in:
lib/claude_agent_sdk/types.rb

Overview

Stream event for partial message updates

Instance Attribute Summary collapse

Method Summary

Methods inherited from Type

#[], #[]=, from_hash, #initialize, #to_h, wrap

Constructor Details

This class inherits a constructor from ClaudeAgentSDK::Type

Dynamic Method Handling

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

Instance Attribute Details

#eventObject

Returns the value of attribute event.



351
352
353
# File 'lib/claude_agent_sdk/types.rb', line 351

def event
  @event
end

#parent_tool_use_idObject

Returns the value of attribute parent_tool_use_id.



351
352
353
# File 'lib/claude_agent_sdk/types.rb', line 351

def parent_tool_use_id
  @parent_tool_use_id
end

#session_idObject

Returns the value of attribute session_id.



351
352
353
# File 'lib/claude_agent_sdk/types.rb', line 351

def session_id
  @session_id
end

#uuidObject

Returns the value of attribute uuid.



351
352
353
# File 'lib/claude_agent_sdk/types.rb', line 351

def uuid
  @uuid
end