Class: Handinger::Models::Worker::File
Instance Attribute Summary collapse
Instance Method Summary
collapse
-
#initialize(id:, created_at:, error:, files:, incomplete_details:, messages:, metadata:, object:, output:, output_text:, running:, sources:, status:, structured_output:, usage: nil) ⇒ 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:, object:, output:, output_text:, running:, sources:, status:, structured_output:, usage: nil) ⇒ Object
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
|
# File 'lib/handinger/models/worker.rb', line 101
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?
105
|
# File 'lib/handinger/models/worker.rb', line 105
required :filename, String, nil?: true
|
110
|
# File 'lib/handinger/models/worker.rb', line 110
required :media_type, String, api_name: :mediaType
|
#url ⇒ String
115
|
# File 'lib/handinger/models/worker.rb', line 115
required :url, String
|