Class: OpenAI::Models::BetaResponseItem::Beta::BetaResponseItem::ImageGenerationCall
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::BetaResponseItem::Beta::BetaResponseItem::ImageGenerationCall
- Defined in:
- sig/openai/models/beta/beta_response_item.rbs
Defined Under Namespace
Modules: Status Classes: Agent
Instance Attribute Summary collapse
-
#agent ⇒ OpenAI::Beta::BetaResponseItem::ImageGenerationCall::Agent?
Returns the value of attribute agent.
-
#id ⇒ String
Returns the value of attribute id.
-
#result ⇒ String?
Returns the value of attribute result.
-
#status ⇒ OpenAI::Models::Beta::BetaResponseItem::ImageGenerationCall::status
Returns the value of attribute status.
-
#type ⇒ :image_generation_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
609 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 609
def initialize: (
|
Instance Attribute Details
#agent ⇒ OpenAI::Beta::BetaResponseItem::ImageGenerationCall::Agent?
Returns the value of attribute agent.
607 608 609 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 607 def agent @agent end |
#id ⇒ String
Returns the value of attribute id.
599 600 601 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 599 def id @id end |
#result ⇒ String?
Returns the value of attribute result.
601 602 603 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 601 def result @result end |
#status ⇒ OpenAI::Models::Beta::BetaResponseItem::ImageGenerationCall::status
Returns the value of attribute status.
603 604 605 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 603 def status @status end |
#type ⇒ :image_generation_call
Returns the value of attribute type.
605 606 607 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 605 def type @type end |
Instance Method Details
#to_hash ⇒ {
617 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 617
def to_hash: -> {
|