Class: OpenAI::Models::Responses::ResponsesServerEvent::ResponseWsError::Error::Misalignment
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Responses::ResponsesServerEvent::ResponseWsError::Error::Misalignment
- Defined in:
- lib/openai/models/responses/responses_server_event.rb,
sig/openai/models/responses/responses_server_event.rbs
Overview
Defined Under Namespace
Modules: ErrorType Classes: Steer
Instance Attribute Summary collapse
-
#detailed_explanation ⇒ String?
The public explanation for this block.
-
#error_type ⇒ String, ...
An optional classification; clients must accept additional values.
-
#steer ⇒ OpenAI::Models::Responses::ResponsesServerEvent::ResponseWsError::Error::Misalignment::Steer?
An optional public continuation instruction.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
- #initialize(detailed_explanation: nil, error_type: nil, steer: nil) ⇒ Object constructor
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, 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, coerce_with_error, 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(detailed_explanation: nil, error_type: nil, steer: nil) ⇒ Object
|
|
# File 'lib/openai/models/responses/responses_server_event.rb', line 2235
|
Instance Attribute Details
#detailed_explanation ⇒ String?
The public explanation for this block.
2215 |
# File 'lib/openai/models/responses/responses_server_event.rb', line 2215 optional :detailed_explanation, String |
#error_type ⇒ String, ...
An optional classification; clients must accept additional values.
2221 2222 2223 2224 |
# File 'lib/openai/models/responses/responses_server_event.rb', line 2221 optional( :error_type, union: -> { OpenAI::Responses::ResponsesServerEvent::ResponseWsError::Error::Misalignment::ErrorType } ) |
#steer ⇒ OpenAI::Models::Responses::ResponsesServerEvent::ResponseWsError::Error::Misalignment::Steer?
An optional public continuation instruction.
2230 2231 2232 2233 |
# File 'lib/openai/models/responses/responses_server_event.rb', line 2230 optional( :steer, -> { OpenAI::Responses::ResponsesServerEvent::ResponseWsError::Error::Misalignment::Steer } ) |
Instance Method Details
#to_hash ⇒ {
2076 |
# File 'sig/openai/models/responses/responses_server_event.rbs', line 2076
def to_hash: -> {
|