Class: OpenAI::Models::BetaResponseItem::Beta::BetaResponseItem::AgentMessage::Content::ComputerScreenshot
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::BetaResponseItem::Beta::BetaResponseItem::AgentMessage::Content::ComputerScreenshot
- Defined in:
- sig/openai/models/beta/beta_response_item.rbs
Defined Under Namespace
Modules: Detail Classes: PromptCacheBreakpoint
Instance Attribute Summary collapse
-
#detail ⇒ OpenAI::Models::Beta::BetaResponseItem::AgentMessage::Content::ComputerScreenshot::detail
Returns the value of attribute detail.
-
#file_id ⇒ String?
Returns the value of attribute file_id.
-
#image_url ⇒ String?
Returns the value of attribute image_url.
-
#prompt_cache_breakpoint ⇒ OpenAI::Beta::BetaResponseItem::AgentMessage::Content::ComputerScreenshot::PromptCacheBreakpoint?
readonly
Returns the value of attribute prompt_cache_breakpoint.
-
#type ⇒ :computer_screenshot
Returns the value of attribute type.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #prompt_cache_breakpoint ⇒ Object readonly
- #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
163 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 163
def initialize: (
|
Instance Attribute Details
#detail ⇒ OpenAI::Models::Beta::BetaResponseItem::AgentMessage::Content::ComputerScreenshot::detail
Returns the value of attribute detail.
149 150 151 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 149 def detail @detail end |
#file_id ⇒ String?
Returns the value of attribute file_id.
151 152 153 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 151 def file_id @file_id end |
#image_url ⇒ String?
Returns the value of attribute image_url.
153 154 155 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 153 def image_url @image_url end |
#prompt_cache_breakpoint ⇒ OpenAI::Beta::BetaResponseItem::AgentMessage::Content::ComputerScreenshot::PromptCacheBreakpoint? (readonly)
Returns the value of attribute prompt_cache_breakpoint.
157 158 159 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 157 def prompt_cache_breakpoint @prompt_cache_breakpoint end |
#type ⇒ :computer_screenshot
Returns the value of attribute type.
155 156 157 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 155 def type @type end |
Instance Method Details
#prompt_cache_breakpoint= ⇒ Object (readonly)
159 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 159
def prompt_cache_breakpoint=: (
|
#to_hash ⇒ {
171 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 171
def to_hash: -> {
|