Class: OpenAI::Models::ConversationItem::Conversations::ConversationItem::ImageGenerationCall
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::ConversationItem::Conversations::ConversationItem::ImageGenerationCall
- Defined in:
- sig/openai/models/conversations/conversation_item.rbs
Defined Under Namespace
Modules: Status
Instance Attribute Summary collapse
-
#id ⇒ String
Returns the value of attribute id.
-
#result ⇒ String?
Returns the value of attribute result.
-
#status ⇒ OpenAI::Models::Conversations::ConversationItem::ImageGenerationCall::status
Returns the value of attribute status.
-
#type ⇒ :image_generation_call
Returns the value of attribute type.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, 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, coerce_with_error, #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
56 |
# File 'sig/openai/models/conversations/conversation_item.rbs', line 56
def initialize: (
|
Instance Attribute Details
#id ⇒ String
Returns the value of attribute id.
48 49 50 |
# File 'sig/openai/models/conversations/conversation_item.rbs', line 48 def id @id end |
#result ⇒ String?
Returns the value of attribute result.
50 51 52 |
# File 'sig/openai/models/conversations/conversation_item.rbs', line 50 def result @result end |
#status ⇒ OpenAI::Models::Conversations::ConversationItem::ImageGenerationCall::status
Returns the value of attribute status.
52 53 54 |
# File 'sig/openai/models/conversations/conversation_item.rbs', line 52 def status @status end |
#type ⇒ :image_generation_call
Returns the value of attribute type.
54 55 56 |
# File 'sig/openai/models/conversations/conversation_item.rbs', line 54 def type @type end |
Instance Method Details
#to_hash ⇒ {
63 |
# File 'sig/openai/models/conversations/conversation_item.rbs', line 63
def to_hash: -> {
|