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: Action, Background, OutputFormat, Quality, Size, Status
Instance Attribute Summary collapse
-
#action ⇒ OpenAI::Models::Conversations::ConversationItem::ImageGenerationCall::action?
Returns the value of attribute action.
-
#background ⇒ OpenAI::Models::Conversations::ConversationItem::ImageGenerationCall::background?
Returns the value of attribute background.
-
#id ⇒ String
Returns the value of attribute id.
-
#output_format ⇒ OpenAI::Models::Conversations::ConversationItem::ImageGenerationCall::output_format?
Returns the value of attribute output_format.
-
#quality ⇒ OpenAI::Models::Conversations::ConversationItem::ImageGenerationCall::quality?
Returns the value of attribute quality.
-
#result ⇒ String?
Returns the value of attribute result.
-
#revised_prompt ⇒ String?
Returns the value of attribute revised_prompt.
-
#size ⇒ OpenAI::Models::Conversations::ConversationItem::ImageGenerationCall::size?
Returns the value of attribute size.
-
#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
75 |
# File 'sig/openai/models/conversations/conversation_item.rbs', line 75
def initialize: (
|
Instance Attribute Details
#action ⇒ OpenAI::Models::Conversations::ConversationItem::ImageGenerationCall::action?
Returns the value of attribute action.
63 64 65 |
# File 'sig/openai/models/conversations/conversation_item.rbs', line 63 def action @action end |
#background ⇒ OpenAI::Models::Conversations::ConversationItem::ImageGenerationCall::background?
Returns the value of attribute background.
65 66 67 |
# File 'sig/openai/models/conversations/conversation_item.rbs', line 65 def background @background end |
#id ⇒ String
Returns the value of attribute id.
55 56 57 |
# File 'sig/openai/models/conversations/conversation_item.rbs', line 55 def id @id end |
#output_format ⇒ OpenAI::Models::Conversations::ConversationItem::ImageGenerationCall::output_format?
Returns the value of attribute output_format.
67 68 69 |
# File 'sig/openai/models/conversations/conversation_item.rbs', line 67 def output_format @output_format end |
#quality ⇒ OpenAI::Models::Conversations::ConversationItem::ImageGenerationCall::quality?
Returns the value of attribute quality.
69 70 71 |
# File 'sig/openai/models/conversations/conversation_item.rbs', line 69 def quality @quality end |
#result ⇒ String?
Returns the value of attribute result.
57 58 59 |
# File 'sig/openai/models/conversations/conversation_item.rbs', line 57 def result @result end |
#revised_prompt ⇒ String?
Returns the value of attribute revised_prompt.
71 72 73 |
# File 'sig/openai/models/conversations/conversation_item.rbs', line 71 def revised_prompt @revised_prompt end |
#size ⇒ OpenAI::Models::Conversations::ConversationItem::ImageGenerationCall::size?
Returns the value of attribute size.
73 74 75 |
# File 'sig/openai/models/conversations/conversation_item.rbs', line 73 def size @size end |
#status ⇒ OpenAI::Models::Conversations::ConversationItem::ImageGenerationCall::status
Returns the value of attribute status.
59 60 61 |
# File 'sig/openai/models/conversations/conversation_item.rbs', line 59 def status @status end |
#type ⇒ :image_generation_call
Returns the value of attribute type.
61 62 63 |
# File 'sig/openai/models/conversations/conversation_item.rbs', line 61 def type @type end |
Instance Method Details
#to_hash ⇒ {
88 |
# File 'sig/openai/models/conversations/conversation_item.rbs', line 88
def to_hash: -> {
|