Class: Onlyfans::Models::AuthenticatePollStatusResponse::LastAttempt

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/authenticate_poll_status_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(completed_at: nil, error_code: nil, error_message: nil, needs_otp: nil, otp_phone_ending: nil, started_at: nil, success: nil) ⇒ Object

Parameters:

  • completed_at (String) (defaults to: nil)
  • error_code (String, nil) (defaults to: nil)
  • error_message (String, nil) (defaults to: nil)
  • needs_otp (Boolean) (defaults to: nil)
  • otp_phone_ending (String, nil) (defaults to: nil)
  • started_at (String) (defaults to: nil)
  • success (Boolean) (defaults to: nil)


# File 'lib/onlyfans/models/authenticate_poll_status_response.rb', line 912

Instance Attribute Details

#completed_atString?

Returns:

  • (String, nil)


880
# File 'lib/onlyfans/models/authenticate_poll_status_response.rb', line 880

optional :completed_at, String

#error_codeString?

Returns:

  • (String, nil)


885
# File 'lib/onlyfans/models/authenticate_poll_status_response.rb', line 885

optional :error_code, String, nil?: true

#error_messageString?

Returns:

  • (String, nil)


890
# File 'lib/onlyfans/models/authenticate_poll_status_response.rb', line 890

optional :error_message, String, nil?: true

#needs_otpBoolean?

Returns:

  • (Boolean, nil)


895
# File 'lib/onlyfans/models/authenticate_poll_status_response.rb', line 895

optional :needs_otp, Onlyfans::Internal::Type::Boolean

#otp_phone_endingString?

Returns:

  • (String, nil)


900
# File 'lib/onlyfans/models/authenticate_poll_status_response.rb', line 900

optional :otp_phone_ending, String, nil?: true

#started_atString?

Returns:

  • (String, nil)


905
# File 'lib/onlyfans/models/authenticate_poll_status_response.rb', line 905

optional :started_at, String

#successBoolean?

Returns:

  • (Boolean, nil)


910
# File 'lib/onlyfans/models/authenticate_poll_status_response.rb', line 910

optional :success, Onlyfans::Internal::Type::Boolean