Class: Onlyfans::Models::Media::Vault::ListCreateResponse::Data

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/media/vault/list_create_response.rb

Overview

See Also:

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_create_response.rb', line 172

Instance Attribute Details

#audios_countInteger?

Returns:

  • (Integer, nil)


125
# File 'lib/onlyfans/models/media/vault/list_create_response.rb', line 125

optional :audios_count, Integer, api_name: :audiosCount

#can_deleteBoolean?

Returns:

  • (Boolean, nil)


130
# File 'lib/onlyfans/models/media/vault/list_create_response.rb', line 130

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

#can_updateBoolean?

Returns:

  • (Boolean, nil)


135
# File 'lib/onlyfans/models/media/vault/list_create_response.rb', line 135

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

#gifs_countInteger?

Returns:

  • (Integer, nil)


140
# File 'lib/onlyfans/models/media/vault/list_create_response.rb', line 140

optional :gifs_count, Integer, api_name: :gifsCount

#has_mediaBoolean?

Returns:

  • (Boolean, nil)


145
# File 'lib/onlyfans/models/media/vault/list_create_response.rb', line 145

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

#idInteger?

Returns:

  • (Integer, nil)


120
# File 'lib/onlyfans/models/media/vault/list_create_response.rb', line 120

optional :id, Integer

#mediasArray<Object>?

Returns:

  • (Array<Object>, nil)


150
# File 'lib/onlyfans/models/media/vault/list_create_response.rb', line 150

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

#nameString?

Returns:

  • (String, nil)


155
# File 'lib/onlyfans/models/media/vault/list_create_response.rb', line 155

optional :name, String

#photos_countInteger?

Returns:

  • (Integer, nil)


160
# File 'lib/onlyfans/models/media/vault/list_create_response.rb', line 160

optional :photos_count, Integer, api_name: :photosCount

#typeString?

Returns:

  • (String, nil)


165
# File 'lib/onlyfans/models/media/vault/list_create_response.rb', line 165

optional :type, String

#videos_countInteger?

Returns:

  • (Integer, nil)


170
# File 'lib/onlyfans/models/media/vault/list_create_response.rb', line 170

optional :videos_count, Integer, api_name: :videosCount