Class: OpenAI::Models::Responses::ResponsesServerEvent::ResponseImageGenCallPartialWsImage
- Inherits:
-
OpenAI::Models::Responses::ResponseImageGenCallPartialImageEvent
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Responses::ResponseImageGenCallPartialImageEvent
- OpenAI::Models::Responses::ResponsesServerEvent::ResponseImageGenCallPartialWsImage
- Defined in:
- lib/openai/models/responses/responses_server_event.rb,
sig/openai/models/responses/responses_server_event.rbs
Instance Attribute Summary collapse
-
#stream_id ⇒ String?
The WebSocket lane that emitted this event.
Attributes inherited from OpenAI::Models::Responses::ResponseImageGenCallPartialImageEvent
#background, #item_id, #output_format, #output_index, #partial_image_b64, #partial_image_index, #quality, #sequence_number, #size, #type
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize ⇒ ResponseImageGenCallPartialWsImage
constructor
A new instance of ResponseImageGenCallPartialWsImage.
- #to_hash ⇒ { item_id: String, output_index: Integer, :partial_image_b64 => String, partial_image_index: Integer, sequence_number: Integer, ?type: :"response.image_generation_call.partial_image", ?background: String, ?output_format: String, ?quality: String, ?size: String, ?stream_id: String }
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_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, 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 ⇒ ResponseImageGenCallPartialWsImage
Returns a new instance of ResponseImageGenCallPartialWsImage.
2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 |
# File 'sig/openai/models/responses/responses_server_event.rbs', line 2335
def initialize: (
item_id: String,
output_index: Integer,
partial_image_b64: String,
partial_image_index: Integer,
sequence_number: Integer,
?background: String,
?output_format: String,
?quality: String,
?size: String,
?stream_id: String,
?type: :"response.image_generation_call.partial_image"
) -> void
|
Instance Attribute Details
#stream_id ⇒ String?
The WebSocket lane that emitted this event. This field is present when the
originating response.create event supplied a stream_id.
1735 |
# File 'lib/openai/models/responses/responses_server_event.rb', line 1735 optional :stream_id, String |
Instance Method Details
#to_hash ⇒ { item_id: String, output_index: Integer, :partial_image_b64 => String, partial_image_index: Integer, sequence_number: Integer, ?type: :"response.image_generation_call.partial_image", ?background: String, ?output_format: String, ?quality: String, ?size: String, ?stream_id: String }
2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 |
# File 'sig/openai/models/responses/responses_server_event.rbs', line 2349
def to_hash: -> {
item_id: String,
output_index: Integer,
:partial_image_b64 => String,
partial_image_index: Integer,
sequence_number: Integer,
?type: :"response.image_generation_call.partial_image",
?background: String,
?output_format: String,
?quality: String,
?size: String,
?stream_id: String
}
|