Class: Onlyfans::Models::Media::Vault::ListListResponse::Data::List

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/media/vault/list_list_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, audios_count: nil, can_delete: nil, can_update: nil, gifs_count: nil, has_media: nil, medias: nil, name: nil, photos_count: nil, type: nil, videos_count: nil) ⇒ Object

Parameters:

  • id (Integer) (defaults to: nil)
  • audios_count (Integer) (defaults to: nil)
  • can_delete (Boolean) (defaults to: nil)
  • can_update (Boolean) (defaults to: nil)
  • gifs_count (Integer) (defaults to: nil)
  • has_media (Boolean) (defaults to: nil)
  • medias (Array<Object>) (defaults to: nil)
  • name (String) (defaults to: nil)
  • photos_count (Integer) (defaults to: nil)
  • type (String) (defaults to: nil)
  • videos_count (Integer) (defaults to: nil)


# File 'lib/onlyfans/models/media/vault/list_list_response.rb', line 266

Instance Attribute Details

#audios_countInteger?

Returns:

  • (Integer, nil)


219
# File 'lib/onlyfans/models/media/vault/list_list_response.rb', line 219

optional :audios_count, Integer, api_name: :audiosCount

#can_deleteBoolean?

Returns:

  • (Boolean, nil)


224
# File 'lib/onlyfans/models/media/vault/list_list_response.rb', line 224

optional :can_delete, Onlyfans::Internal::Type::Boolean, api_name: :canDelete

#can_updateBoolean?

Returns:

  • (Boolean, nil)


229
# File 'lib/onlyfans/models/media/vault/list_list_response.rb', line 229

optional :can_update, Onlyfans::Internal::Type::Boolean, api_name: :canUpdate

#gifs_countInteger?

Returns:

  • (Integer, nil)


234
# File 'lib/onlyfans/models/media/vault/list_list_response.rb', line 234

optional :gifs_count, Integer, api_name: :gifsCount

#has_mediaBoolean?

Returns:

  • (Boolean, nil)


239
# File 'lib/onlyfans/models/media/vault/list_list_response.rb', line 239

optional :has_media, Onlyfans::Internal::Type::Boolean, api_name: :hasMedia

#idInteger?

Returns:

  • (Integer, nil)


214
# File 'lib/onlyfans/models/media/vault/list_list_response.rb', line 214

optional :id, Integer

#mediasArray<Object>?

Returns:

  • (Array<Object>, nil)


244
# File 'lib/onlyfans/models/media/vault/list_list_response.rb', line 244

optional :medias, Onlyfans::Internal::Type::ArrayOf[Onlyfans::Internal::Type::Unknown]

#nameString?

Returns:

  • (String, nil)


249
# File 'lib/onlyfans/models/media/vault/list_list_response.rb', line 249

optional :name, String

#photos_countInteger?

Returns:

  • (Integer, nil)


254
# File 'lib/onlyfans/models/media/vault/list_list_response.rb', line 254

optional :photos_count, Integer, api_name: :photosCount

#typeString?

Returns:

  • (String, nil)


259
# File 'lib/onlyfans/models/media/vault/list_list_response.rb', line 259

optional :type, String

#videos_countInteger?

Returns:

  • (Integer, nil)


264
# File 'lib/onlyfans/models/media/vault/list_list_response.rb', line 264

optional :videos_count, Integer, api_name: :videosCount