Class: Onlyfans::Models::Media::VaultUploadResponse::Data

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

Overview

See Also:

Defined Under Namespace

Classes: Files

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, can_view: nil, converted_to_video: nil, created_at: nil, duration: nil, files: nil, has_custom_preview: nil, has_error: nil, is_ready: nil, release_forms: nil, type: nil) ⇒ Object

Parameters:

  • id (Integer) (defaults to: nil)
  • can_view (Boolean) (defaults to: nil)
  • converted_to_video (Boolean) (defaults to: nil)
  • created_at (String) (defaults to: nil)
  • duration (Integer) (defaults to: nil)
  • files (Onlyfans::Models::Media::VaultUploadResponse::Data::Files) (defaults to: nil)
  • has_custom_preview (Boolean) (defaults to: nil)
  • has_error (Boolean) (defaults to: nil)
  • is_ready (Boolean) (defaults to: nil)
  • release_forms (Array<Object>) (defaults to: nil)
  • type (String) (defaults to: nil)


# File 'lib/onlyfans/models/media/vault_upload_response.rb', line 173

Instance Attribute Details

#can_viewBoolean?

Returns:

  • (Boolean, nil)


124
# File 'lib/onlyfans/models/media/vault_upload_response.rb', line 124

optional :can_view, Onlyfans::Internal::Type::Boolean, api_name: :canView

#converted_to_videoBoolean?

Returns:

  • (Boolean, nil)


129
# File 'lib/onlyfans/models/media/vault_upload_response.rb', line 129

optional :converted_to_video, Onlyfans::Internal::Type::Boolean, api_name: :convertedToVideo

#created_atString?

Returns:

  • (String, nil)


134
# File 'lib/onlyfans/models/media/vault_upload_response.rb', line 134

optional :created_at, String, api_name: :createdAt

#durationInteger?

Returns:

  • (Integer, nil)


139
# File 'lib/onlyfans/models/media/vault_upload_response.rb', line 139

optional :duration, Integer

#filesOnlyfans::Models::Media::VaultUploadResponse::Data::Files?



144
# File 'lib/onlyfans/models/media/vault_upload_response.rb', line 144

optional :files, -> { Onlyfans::Models::Media::VaultUploadResponse::Data::Files }

#has_custom_previewBoolean?

Returns:

  • (Boolean, nil)


149
# File 'lib/onlyfans/models/media/vault_upload_response.rb', line 149

optional :has_custom_preview, Onlyfans::Internal::Type::Boolean, api_name: :hasCustomPreview

#has_errorBoolean?

Returns:

  • (Boolean, nil)


154
# File 'lib/onlyfans/models/media/vault_upload_response.rb', line 154

optional :has_error, Onlyfans::Internal::Type::Boolean, api_name: :hasError

#idInteger?

Returns:

  • (Integer, nil)


119
# File 'lib/onlyfans/models/media/vault_upload_response.rb', line 119

optional :id, Integer

#is_readyBoolean?

Returns:

  • (Boolean, nil)


159
# File 'lib/onlyfans/models/media/vault_upload_response.rb', line 159

optional :is_ready, Onlyfans::Internal::Type::Boolean, api_name: :isReady

#release_formsArray<Object>?

Returns:

  • (Array<Object>, nil)


164
165
166
# File 'lib/onlyfans/models/media/vault_upload_response.rb', line 164

optional :release_forms,
Onlyfans::Internal::Type::ArrayOf[Onlyfans::Internal::Type::Unknown],
api_name: :releaseForms

#typeString?

Returns:

  • (String, nil)


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

optional :type, String