Class: OpenAI::Models::BetaResponseItem::Beta::BetaResponseItem::AgentMessage::Content::ReasoningText
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::BetaResponseItem::Beta::BetaResponseItem::AgentMessage::Content::ReasoningText
- Defined in:
- sig/openai/models/beta/beta_response_item.rbs
Instance Attribute Summary collapse
-
#text ⇒ String
Returns the value of attribute text.
-
#type ⇒ :reasoning_text
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize ⇒ ReasoningText
constructor
A new instance of ReasoningText.
- #to_hash ⇒ { text: String, type: :reasoning_text }
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 ⇒ ReasoningText
Returns a new instance of ReasoningText.
134 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 134
def initialize: (text: String, ?type: :reasoning_text) -> void
|
Instance Attribute Details
#text ⇒ String
Returns the value of attribute text.
130 131 132 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 130 def text @text end |
#type ⇒ :reasoning_text
Returns the value of attribute type.
132 133 134 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 132 def type @type end |
Instance Method Details
#to_hash ⇒ { text: String, type: :reasoning_text }
136 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 136
def to_hash: -> { text: String, type: :reasoning_text }
|