Class: Onlyfans::Models::AuthenticateSubmit2faParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Onlyfans::Models::AuthenticateSubmit2faParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/onlyfans/models/authenticate_submit_2fa_params.rb
Overview
Instance Attribute Summary collapse
- #attempt_id ⇒ String
-
#code ⇒ String?
The 2FA code you received on your phone.
-
#selfie_verification_completed ⇒ Object?
This field is required when
codeis not present.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(attempt_id:, code: nil, selfie_verification_completed: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see AuthenticateSubmit2faParams for more details.
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(attempt_id:, code: nil, selfie_verification_completed: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Onlyfans::Models::AuthenticateSubmit2faParams for more details.
|
|
# File 'lib/onlyfans/models/authenticate_submit_2fa_params.rb', line 28
|
Instance Attribute Details
#attempt_id ⇒ String
13 |
# File 'lib/onlyfans/models/authenticate_submit_2fa_params.rb', line 13 required :attempt_id, String |
#code ⇒ String?
The 2FA code you received on your phone. Must be empty if ‘selfie_verification_completed` is `true`.
20 |
# File 'lib/onlyfans/models/authenticate_submit_2fa_params.rb', line 20 optional :code, String |