Class: MethodRuby::Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::Sensitive::AccountSensitive::Field

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

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:, account_id:, created_at:, fields:, status:, type:, updated_at:, error: nil) ⇒ Object

Sensitive data for an account.

Parameters:



14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
# File 'lib/method_ruby/models/entity.rb', line 14370

class Field < MethodRuby::Internal::Type::BaseModel
  # @!attribute name
  #   Name of the field.
  #
  #   @return [String, nil]
  optional :name, String

  # @!attribute value
  #   Value of the field.
  #
  #   @return [String, nil]
  optional :value, String

  # @!method initialize(name: nil, value: nil)
  #   @param name [String] Name of the field.
  #
  #   @param value [String] Value of the field.
end

Instance Attribute Details

#nameString?

Name of the field.

Returns:

  • (String, nil)


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

optional :name, String

#valueString?

Value of the field.

Returns:

  • (String, nil)


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

optional :value, String