Class: ClaudeAgentSDK::HookResponseMessage

Inherits:
SystemMessage show all
Defined in:
lib/claude_agent_sdk/types.rb

Overview

Hook response system message

Instance Attribute Summary collapse

Attributes inherited from SystemMessage

#data, #subtype

Method Summary

Methods inherited from SystemMessage

#initialize

Methods inherited from Type

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

Constructor Details

This class inherits a constructor from ClaudeAgentSDK::SystemMessage

Dynamic Method Handling

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

Instance Attribute Details

#exit_codeObject

Returns the value of attribute exit_code.



285
286
287
# File 'lib/claude_agent_sdk/types.rb', line 285

def exit_code
  @exit_code
end

#hook_eventObject

Returns the value of attribute hook_event.



285
286
287
# File 'lib/claude_agent_sdk/types.rb', line 285

def hook_event
  @hook_event
end

#hook_idObject

Returns the value of attribute hook_id.



285
286
287
# File 'lib/claude_agent_sdk/types.rb', line 285

def hook_id
  @hook_id
end

#hook_nameObject

Returns the value of attribute hook_name.



285
286
287
# File 'lib/claude_agent_sdk/types.rb', line 285

def hook_name
  @hook_name
end

#outcomeObject

Returns the value of attribute outcome.



285
286
287
# File 'lib/claude_agent_sdk/types.rb', line 285

def outcome
  @outcome
end

#outputObject

Returns the value of attribute output.



285
286
287
# File 'lib/claude_agent_sdk/types.rb', line 285

def output
  @output
end

#session_idObject

Returns the value of attribute session_id.



285
286
287
# File 'lib/claude_agent_sdk/types.rb', line 285

def session_id
  @session_id
end

#stderrObject

Returns the value of attribute stderr.



285
286
287
# File 'lib/claude_agent_sdk/types.rb', line 285

def stderr
  @stderr
end

#stdoutObject

Returns the value of attribute stdout.



285
286
287
# File 'lib/claude_agent_sdk/types.rb', line 285

def stdout
  @stdout
end

#uuidObject

Returns the value of attribute uuid.



285
286
287
# File 'lib/claude_agent_sdk/types.rb', line 285

def uuid
  @uuid
end