Class: FinchAPI::Models::DirectoryEvent

Inherits:
BaseWebhookEvent show all
Defined in:
lib/finch_api/models/directory_event.rb

Defined Under Namespace

Modules: EventType Classes: Data

Instance Attribute Summary collapse

Attributes inherited from BaseWebhookEvent

#account_id, #company_id, #connection_id

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(individual_id: nil) ⇒ Object

Parameters:

  • individual_id (String) (defaults to: nil)

    The ID of the individual related to the event.



# File 'lib/finch_api/models/directory_event.rb', line 27

Instance Attribute Details

#dataFinchAPI::Models::DirectoryEvent::Data?



9
# File 'lib/finch_api/models/directory_event.rb', line 9

optional :data, -> { FinchAPI::DirectoryEvent::Data }

#event_typeSymbol, ...



14
# File 'lib/finch_api/models/directory_event.rb', line 14

optional :event_type, enum: -> { FinchAPI::DirectoryEvent::EventType }