Class: OpenAI::Models::BetaResponseInputItem::Beta::BetaResponseInputItem::ShellCall
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::BetaResponseInputItem::Beta::BetaResponseInputItem::ShellCall
- Defined in:
- sig/openai/models/beta/beta_response_input_item.rbs
Defined Under Namespace
Modules: Caller, Environment, Status Classes: Action, Agent
Instance Attribute Summary collapse
-
#action ⇒ OpenAI::Beta::BetaResponseInputItem::ShellCall::Action
Returns the value of attribute action.
-
#agent ⇒ OpenAI::Beta::BetaResponseInputItem::ShellCall::Agent?
Returns the value of attribute agent.
-
#call_id ⇒ String
Returns the value of attribute call_id.
-
#caller_ ⇒ OpenAI::Models::Beta::BetaResponseInputItem::ShellCall::caller_?
Returns the value of attribute caller_.
-
#environment ⇒ OpenAI::Models::Beta::BetaResponseInputItem::ShellCall::environment?
Returns the value of attribute environment.
-
#id ⇒ String?
Returns the value of attribute id.
-
#status ⇒ OpenAI::Models::Beta::BetaResponseInputItem::ShellCall::status?
Returns the value of attribute status.
-
#type ⇒ :shell_call
Returns the value of attribute 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
1110 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1110
def initialize: (
|
Instance Attribute Details
#action ⇒ OpenAI::Beta::BetaResponseInputItem::ShellCall::Action
Returns the value of attribute action.
1094 1095 1096 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1094 def action @action end |
#agent ⇒ OpenAI::Beta::BetaResponseInputItem::ShellCall::Agent?
Returns the value of attribute agent.
1102 1103 1104 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1102 def agent @agent end |
#call_id ⇒ String
Returns the value of attribute call_id.
1096 1097 1098 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1096 def call_id @call_id end |
#caller_ ⇒ OpenAI::Models::Beta::BetaResponseInputItem::ShellCall::caller_?
Returns the value of attribute caller_.
1104 1105 1106 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1104 def caller_ @caller_ end |
#environment ⇒ OpenAI::Models::Beta::BetaResponseInputItem::ShellCall::environment?
Returns the value of attribute environment.
1106 1107 1108 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1106 def environment @environment end |
#id ⇒ String?
Returns the value of attribute id.
1100 1101 1102 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1100 def id @id end |
#status ⇒ OpenAI::Models::Beta::BetaResponseInputItem::ShellCall::status?
Returns the value of attribute status.
1108 1109 1110 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1108 def status @status end |
#type ⇒ :shell_call
Returns the value of attribute type.
1098 1099 1100 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1098 def type @type end |
Instance Method Details
#to_hash ⇒ {
1121 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1121
def to_hash: -> {
|