Class: OpenAI::Models::BetaResponseItem::Beta::BetaResponseItem::AdditionalTools::Agent
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::BetaResponseItem::Beta::BetaResponseItem::AdditionalTools::Agent
- Defined in:
- sig/openai/models/beta/beta_response_item.rbs
Instance Attribute Summary collapse
-
#agent_name ⇒ String
Returns the value of attribute agent_name.
Instance Method Summary collapse
-
#initialize ⇒ Agent
constructor
A new instance of Agent.
- #to_hash ⇒ { agent_name: String }
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 ⇒ Agent
Returns a new instance of Agent.
460 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 460
def initialize: (agent_name: String) -> void
|
Instance Attribute Details
#agent_name ⇒ String
Returns the value of attribute agent_name.
458 459 460 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 458 def agent_name @agent_name end |
Instance Method Details
#to_hash ⇒ { agent_name: String }
462 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 462
def to_hash: -> { agent_name: String }
|