Class: FinchAPI::Models::Introspection::Entity

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/finch_api/models/introspection.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: , name: , source_id: ) ⇒ Object

Parameters:

  • id (String) (defaults to: )

    The connection account ID for this entity

  • name (String, nil) (defaults to: )

    The name of the entity (payroll provider company name)

  • source_id (String, nil) (defaults to: )

    The source ID of the entity



# File 'lib/finch_api/models/introspection.rb', line 349

Instance Attribute Details

#idString

The connection account ID for this entity

Returns:

  • (String)


335
# File 'lib/finch_api/models/introspection.rb', line 335

required :id, String

#nameString?

The name of the entity (payroll provider company name)

Returns:

  • (String, nil)


341
# File 'lib/finch_api/models/introspection.rb', line 341

required :name, String, nil?: true

#source_idString?

The source ID of the entity

Returns:

  • (String, nil)


347
# File 'lib/finch_api/models/introspection.rb', line 347

required :source_id, String, nil?: true