Class: Handinger::Models::Worker::File
Instance Attribute Summary collapse
Instance Method Summary
collapse
-
#initialize(id:, created_at:, error:, files:, incomplete_details:, messages:, metadata:, output:, output_text:, running:, sources:, status:, structured_output:, url:, usage: nil, object: :worker) ⇒ Object
constructor
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id:, created_at:, error:, files:, incomplete_details:, messages:, metadata:, output:, output_text:, running:, sources:, status:, structured_output:, url:, usage: nil, object: :worker) ⇒ Object
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
|
# File 'lib/handinger/models/worker.rb', line 123
class File < Handinger::Internal::Type::BaseModel
required :filename, String, nil?: true
required :media_type, String, api_name: :mediaType
required :url, String
end
|
Instance Attribute Details
#filename ⇒ String?
127
|
# File 'lib/handinger/models/worker.rb', line 127
required :filename, String, nil?: true
|
132
|
# File 'lib/handinger/models/worker.rb', line 132
required :media_type, String, api_name: :mediaType
|
#url ⇒ String
137
|
# File 'lib/handinger/models/worker.rb', line 137
required :url, String
|