Class: OpenAI::Models::Responses::ResponseInputItem::ApplyPatchCallOutput::Caller::Direct
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Responses::ResponseInputItem::ApplyPatchCallOutput::Caller::Direct
- Defined in:
- lib/openai/models/responses/response_input_item.rb,
sig/openai/models/responses/response_input_item.rbs
Instance Attribute Summary collapse
-
#type ⇒ Symbol, :direct
The caller type.
Instance Method Summary collapse
-
#initialize ⇒ Direct
constructor
A new instance of Direct.
- #to_hash ⇒ { type: :direct }
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 ⇒ Direct
Returns a new instance of Direct.
994 |
# File 'sig/openai/models/responses/response_input_item.rbs', line 994
def initialize: (?type: :direct) -> void
|
Instance Attribute Details
#type ⇒ Symbol, :direct
The caller type. Always direct.
1433 |
# File 'lib/openai/models/responses/response_input_item.rb', line 1433 required :type, const: :direct |
Instance Method Details
#to_hash ⇒ { type: :direct }
996 |
# File 'sig/openai/models/responses/response_input_item.rbs', line 996
def to_hash: -> { type: :direct }
|