Class: FinchAPI::Models::CompanyEvent

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

Defined Under Namespace

Modules: EventType

Instance Attribute Summary collapse

Attributes inherited from BaseWebhookEvent

#account_id, #company_id, #connection_id

Method Summary

Methods inherited from BaseWebhookEvent

#initialize

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!

Constructor Details

This class inherits a constructor from FinchAPI::Models::BaseWebhookEvent

Instance Attribute Details

#dataHash{Symbol=>Object}?

Returns:

  • (Hash{Symbol=>Object}, nil)


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

optional :data, FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown], nil?: true

#event_typeSymbol, ...

Returns:



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

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