Class: MethodRuby::Models::Entity::EntityIndividualResource::Verification::Phone

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/method_ruby/models/entity.rb

Overview

See Also:

Defined Under Namespace

Modules: LatestVerificationSession

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(latest_verification_session: nil, methods_: nil, verified: nil) ⇒ Object

Some parameter documentations has been truncated, see MethodRuby::Models::Entity::EntityIndividualResource::Verification::Phone for more details.

Parameters:



# File 'lib/method_ruby/models/entity.rb', line 16460

Instance Attribute Details

#latest_verification_sessionString, ...

ID of the latest phone verification session. Expandable via ‘phone_latest_verification_session`.



16442
16443
16444
16445
16446
# File 'lib/method_ruby/models/entity.rb', line 16442

optional :latest_verification_session,
union: -> {
  MethodRuby::Entity::EntityIndividualResource::Verification::Phone::LatestVerificationSession
},
nil?: true

#methods_Array<String>?

Available phone verification methods.

Returns:

  • (Array<String>, nil)


16452
# File 'lib/method_ruby/models/entity.rb', line 16452

optional :methods_, MethodRuby::Internal::Type::ArrayOf[String], api_name: :methods

#verifiedBoolean?

Whether the phone has been verified.

Returns:

  • (Boolean, nil)


16458
# File 'lib/method_ruby/models/entity.rb', line 16458

optional :verified, MethodRuby::Internal::Type::Boolean