Class: OpenAI::Models::Responses::ResponseInputItem::Program
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Responses::ResponseInputItem::Program
- Defined in:
- lib/openai/models/responses/response_input_item.rb,
sig/openai/models/responses/response_input_item.rbs
Instance Attribute Summary collapse
-
#call_id ⇒ String
The stable call ID of the program item.
-
#code ⇒ String
The JavaScript source executed by programmatic tool calling.
-
#fingerprint ⇒ String
Opaque program replay fingerprint that must be round-tripped.
-
#id ⇒ String
The unique ID of this program item.
-
#type ⇒ Symbol, :program
The item type.
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
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 ⇒ Object
1296 |
# File 'sig/openai/models/responses/response_input_item.rbs', line 1296
def initialize: (
|
Instance Attribute Details
#call_id ⇒ String
The stable call ID of the program item.
1808 |
# File 'lib/openai/models/responses/response_input_item.rb', line 1808 required :call_id, String |
#code ⇒ String
The JavaScript source executed by programmatic tool calling.
1814 |
# File 'lib/openai/models/responses/response_input_item.rb', line 1814 required :code, String |
#fingerprint ⇒ String
Opaque program replay fingerprint that must be round-tripped.
1820 |
# File 'lib/openai/models/responses/response_input_item.rb', line 1820 required :fingerprint, String |
#id ⇒ String
The unique ID of this program item.
1802 |
# File 'lib/openai/models/responses/response_input_item.rb', line 1802 required :id, String |
#type ⇒ Symbol, :program
The item type. Always program.
1826 |
# File 'lib/openai/models/responses/response_input_item.rb', line 1826 required :type, const: :program |
Instance Method Details
#to_hash ⇒ {
1304 |
# File 'sig/openai/models/responses/response_input_item.rbs', line 1304
def to_hash: -> {
|