Class: MethodRuby::Models::Entity::EntityIndividualResource::Verification::Identity::LatestVerificationSession::EntityVerificationSession::Error

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

Overview

See Also:

Defined Under Namespace

Modules: Code, SubType, Type

Instance Attribute Summary collapse

Class Method 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(code:, message:, sub_type:, type:) ⇒ Object

Error details when an entity verification session fails.



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

Instance Attribute Details

#codeInteger, MethodRuby::Models::Entity::EntityIndividualResource::Verification::Identity::LatestVerificationSession::EntityVerificationSession::Error::Code

Numeric error code (19XXX range).



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

required :code,
enum: -> { MethodRuby::Entity::EntityIndividualResource::Verification::Identity::LatestVerificationSession::EntityVerificationSession::Error::Code }

#messageString

Human-readable error description.

Returns:

  • (String)


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

required :message, String

#sub_typeSymbol, MethodRuby::Models::Entity::EntityIndividualResource::Verification::Identity::LatestVerificationSession::EntityVerificationSession::Error::SubType

Specific verification session error classification.



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

required :sub_type,
enum: -> { MethodRuby::Entity::EntityIndividualResource::Verification::Identity::LatestVerificationSession::EntityVerificationSession::Error::SubType }

#typeSymbol, MethodRuby::Models::Entity::EntityIndividualResource::Verification::Identity::LatestVerificationSession::EntityVerificationSession::Error::Type

The category of verification session error.



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

required :type,
enum: -> { MethodRuby::Entity::EntityIndividualResource::Verification::Identity::LatestVerificationSession::EntityVerificationSession::Error::Type }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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