Class: Onlyfans::Models::DataExportRetrieveResponse::Data::Account

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

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(id: nil, display_name: nil) ⇒ Object

Parameters:

  • id (String) (defaults to: nil)
  • display_name (String) (defaults to: nil)


220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
# File 'lib/onlyfans/models/data_export_retrieve_response.rb', line 220

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

Instance Attribute Details

#display_nameString?

Returns:

  • (String, nil)


229
# File 'lib/onlyfans/models/data_export_retrieve_response.rb', line 229

optional :display_name, String

#idString?

Returns:

  • (String, nil)


224
# File 'lib/onlyfans/models/data_export_retrieve_response.rb', line 224

optional :id, String