Class: Onlyfans::Models::DataExportListResponse::Data::Data

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/data_export_list_response.rb

Defined Under Namespace

Classes: Account

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], 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

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, 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(data: nil, meta: nil) ⇒ Object

Parameters:



136
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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
# File 'lib/onlyfans/models/data_export_list_response.rb', line 136

class Data < Onlyfans::Internal::Type::BaseModel
  # @!attribute id
  #
  #   @return [String, nil]
  optional :id, String

  # @!attribute accounts
  #
  #   @return [Array<Onlyfans::Models::DataExportListResponse::Data::Data::Account>, nil]
  optional :accounts,
           -> { Onlyfans::Internal::Type::ArrayOf[Onlyfans::Models::DataExportListResponse::Data::Data::Account] }

  # @!attribute completed_at
  #
  #   @return [String, nil]
  optional :completed_at, String

  # @!attribute created_at
  #
  #   @return [String, nil]
  optional :created_at, String

  # @!attribute credit_cost
  #
  #   @return [Integer, nil]
  optional :credit_cost, Integer

  # @!attribute download_url
  #
  #   @return [String, nil]
  optional :download_url, String

  # @!attribute download_url_expires_at
  #
  #   @return [String, nil]
  optional :download_url_expires_at, String

  # @!attribute end_date
  #
  #   @return [String, nil]
  optional :end_date, String

  # @!attribute export_columns
  #
  #   @return [Array<String>, nil]
  optional :export_columns, Onlyfans::Internal::Type::ArrayOf[String]

  # @!attribute failed_at
  #
  #   @return [String, nil]
  optional :failed_at, String, nil?: true

  # @!attribute failed_reason
  #
  #   @return [String, nil]
  optional :failed_reason, String, nil?: true

  # @!attribute file_type
  #
  #   @return [String, nil]
  optional :file_type, String

  # @!attribute progress_percentage
  #
  #   @return [Integer, nil]
  optional :progress_percentage, Integer

  # @!attribute rows_processed
  #
  #   @return [Integer, nil]
  optional :rows_processed, Integer

  # @!attribute start_date
  #
  #   @return [String, nil]
  optional :start_date, String

  # @!attribute status
  #
  #   @return [String, nil]
  optional :status, String

  # @!attribute total_rows
  #
  #   @return [Integer, nil]
  optional :total_rows, Integer

  # @!attribute type
  #
  #   @return [String, nil]
  optional :type, String

  # @!method initialize(id: nil, accounts: nil, completed_at: nil, created_at: nil, credit_cost: nil, download_url: nil, download_url_expires_at: nil, end_date: nil, export_columns: nil, failed_at: nil, failed_reason: nil, file_type: nil, progress_percentage: nil, rows_processed: nil, start_date: nil, status: nil, total_rows: nil, type: nil)
  #   @param id [String]
  #   @param accounts [Array<Onlyfans::Models::DataExportListResponse::Data::Data::Account>]
  #   @param completed_at [String]
  #   @param created_at [String]
  #   @param credit_cost [Integer]
  #   @param download_url [String]
  #   @param download_url_expires_at [String]
  #   @param end_date [String]
  #   @param export_columns [Array<String>]
  #   @param failed_at [String, nil]
  #   @param failed_reason [String, nil]
  #   @param file_type [String]
  #   @param progress_percentage [Integer]
  #   @param rows_processed [Integer]
  #   @param start_date [String]
  #   @param status [String]
  #   @param total_rows [Integer]
  #   @param type [String]

  class Account < Onlyfans::Internal::Type::BaseModel
    # @!attribute id
    #
    #   @return [String, nil]
    optional :id, String

    # @!attribute display_name
    #
    #   @return [String, nil]
    optional :display_name, String

    # @!method initialize(id: nil, display_name: nil)
    #   @param id [String]
    #   @param display_name [String]
  end
end

Instance Attribute Details

#accountsArray<Onlyfans::Models::DataExportListResponse::Data::Data::Account>?



145
146
# File 'lib/onlyfans/models/data_export_list_response.rb', line 145

optional :accounts,
-> { Onlyfans::Internal::Type::ArrayOf[Onlyfans::Models::DataExportListResponse::Data::Data::Account] }

#completed_atString?

Returns:

  • (String, nil)


151
# File 'lib/onlyfans/models/data_export_list_response.rb', line 151

optional :completed_at, String

#created_atString?

Returns:

  • (String, nil)


156
# File 'lib/onlyfans/models/data_export_list_response.rb', line 156

optional :created_at, String

#credit_costInteger?

Returns:

  • (Integer, nil)


161
# File 'lib/onlyfans/models/data_export_list_response.rb', line 161

optional :credit_cost, Integer

#download_urlString?

Returns:

  • (String, nil)


166
# File 'lib/onlyfans/models/data_export_list_response.rb', line 166

optional :download_url, String

#download_url_expires_atString?

Returns:

  • (String, nil)


171
# File 'lib/onlyfans/models/data_export_list_response.rb', line 171

optional :download_url_expires_at, String

#end_dateString?

Returns:

  • (String, nil)


176
# File 'lib/onlyfans/models/data_export_list_response.rb', line 176

optional :end_date, String

#export_columnsArray<String>?

Returns:

  • (Array<String>, nil)


181
# File 'lib/onlyfans/models/data_export_list_response.rb', line 181

optional :export_columns, Onlyfans::Internal::Type::ArrayOf[String]

#failed_atString?

Returns:

  • (String, nil)


186
# File 'lib/onlyfans/models/data_export_list_response.rb', line 186

optional :failed_at, String, nil?: true

#failed_reasonString?

Returns:

  • (String, nil)


191
# File 'lib/onlyfans/models/data_export_list_response.rb', line 191

optional :failed_reason, String, nil?: true

#file_typeString?

Returns:

  • (String, nil)


196
# File 'lib/onlyfans/models/data_export_list_response.rb', line 196

optional :file_type, String

#idString?

Returns:

  • (String, nil)


140
# File 'lib/onlyfans/models/data_export_list_response.rb', line 140

optional :id, String

#progress_percentageInteger?

Returns:

  • (Integer, nil)


201
# File 'lib/onlyfans/models/data_export_list_response.rb', line 201

optional :progress_percentage, Integer

#rows_processedInteger?

Returns:

  • (Integer, nil)


206
# File 'lib/onlyfans/models/data_export_list_response.rb', line 206

optional :rows_processed, Integer

#start_dateString?

Returns:

  • (String, nil)


211
# File 'lib/onlyfans/models/data_export_list_response.rb', line 211

optional :start_date, String

#statusString?

Returns:

  • (String, nil)


216
# File 'lib/onlyfans/models/data_export_list_response.rb', line 216

optional :status, String

#total_rowsInteger?

Returns:

  • (Integer, nil)


221
# File 'lib/onlyfans/models/data_export_list_response.rb', line 221

optional :total_rows, Integer

#typeString?

Returns:

  • (String, nil)


226
# File 'lib/onlyfans/models/data_export_list_response.rb', line 226

optional :type, String