Class: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Entity

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/finch_api/models/account_update_event.rb,
sig/finch_api/models/account_update_event.rbs

Overview

See Also:

  • FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company#entity

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

#initializeEntity

Returns a new instance of Entity.

Parameters:

  • subtype: (Boolean)
  • type: (Boolean)


337
# File 'sig/finch_api/models/account_update_event.rbs', line 337

def initialize: (?subtype: bool, ?type: bool) -> void

Instance Attribute Details

#subtypeBoolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


255
# File 'lib/finch_api/models/account_update_event.rb', line 255

optional :subtype, FinchAPI::Internal::Type::Boolean

#typeBoolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


260
# File 'lib/finch_api/models/account_update_event.rb', line 260

optional :type, FinchAPI::Internal::Type::Boolean

Instance Method Details

#to_hash{ subtype: bool, type: bool }

Returns:

  • ({ subtype: bool, type: bool })


339
# File 'sig/finch_api/models/account_update_event.rbs', line 339

def to_hash: -> { subtype: bool, type: bool }