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:, costs: nil, 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:, costs: nil, usage: nil) ⇒ Object
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
|
# File 'lib/handinger/models/worker.rb', line 99
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?
103
|
# File 'lib/handinger/models/worker.rb', line 103
required :filename, String, nil?: true
|
108
|
# File 'lib/handinger/models/worker.rb', line 108
required :media_type, String, api_name: :mediaType
|
#url ⇒ String
113
|
# File 'lib/handinger/models/worker.rb', line 113
required :url, String
|