Class: Handinger::Models::TaskWithTurns::Turn::File
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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(filename:, media_type:, url:, size: nil) ⇒ Object
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
|
# File 'lib/handinger/models/task_with_turns.rb', line 137
class File < Handinger::Internal::Type::BaseModel
required :filename, String, nil?: true
required :media_type, String, api_name: :mediaType
required :url, String
optional :size, Integer
end
|
Instance Attribute Details
#filename ⇒ String?
141
|
# File 'lib/handinger/models/task_with_turns.rb', line 141
required :filename, String, nil?: true
|
146
|
# File 'lib/handinger/models/task_with_turns.rb', line 146
required :media_type, String, api_name: :mediaType
|
#size ⇒ Integer?
156
|
# File 'lib/handinger/models/task_with_turns.rb', line 156
optional :size, Integer
|
#url ⇒ String
151
|
# File 'lib/handinger/models/task_with_turns.rb', line 151
required :url, String
|