Class: SafetyKit::Models::AgentDecisionCreateAgentDecisionResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- SafetyKit::Models::AgentDecisionCreateAgentDecisionResponse
- Defined in:
- lib/safety_kit/models/agent_decision_create_agent_decision_response.rb,
sig/safety_kit/models/agent_decision_create_agent_decision_response.rbs
Overview
Instance Attribute Summary collapse
-
#safetykit_correct ⇒ Boolean
Whether SafetyKit's decision matched the submitted agent decision.
Instance Method Summary collapse
-
#initialize(safetykit_correct:) ⇒ AgentDecisionCreateAgentDecisionResponse
constructor
Response confirming the agent decision was recorded.
- #to_hash ⇒ { safetykit_correct: bool }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(safetykit_correct:) ⇒ AgentDecisionCreateAgentDecisionResponse
Response confirming the agent decision was recorded
|
|
# File 'lib/safety_kit/models/agent_decision_create_agent_decision_response.rb', line 13
|
Instance Attribute Details
#safetykit_correct ⇒ Boolean
Whether SafetyKit's decision matched the submitted agent decision
11 |
# File 'lib/safety_kit/models/agent_decision_create_agent_decision_response.rb', line 11 required :safetykit_correct, SafetyKit::Internal::Type::Boolean, api_name: :safetykitCorrect |
Instance Method Details
#to_hash ⇒ { safetykit_correct: bool }
11 |
# File 'sig/safety_kit/models/agent_decision_create_agent_decision_response.rbs', line 11
def to_hash: -> { safetykit_correct: bool }
|