Class: HubSpotSDK::Models::Events::ExternalUnifiedEvent
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- HubSpotSDK::Models::Events::ExternalUnifiedEvent
- Defined in:
- lib/hubspot_sdk/models/events/external_unified_event.rb
Overview
Instance Attribute Summary collapse
-
#event_type ⇒ String
The format of the ‘eventType` string is `aeappId_eventTypeLabel`, `peportalId_eventTypeLabel`, or just `e_eventTypeLabel` for HubSpot events.
-
#id ⇒ String
A unique identifier for the event.
-
#object_id_ ⇒ String
The objectId of the object which did the event.
-
#object_type ⇒ String
The objectType for the object which did the event.
-
#occurred_at ⇒ Time
An ISO 8601 timestamp when the event occurred.
-
#properties ⇒ Hash{Symbol=>String}
A key-value map of event-specific properties.
Method Summary
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_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
This class inherits a constructor from HubSpotSDK::Internal::Type::BaseModel
Instance Attribute Details
#event_type ⇒ String
The format of the ‘eventType` string is `aeappId_eventTypeLabel`, `peportalId_eventTypeLabel`, or just `e_eventTypeLabel` for HubSpot events.
20 |
# File 'lib/hubspot_sdk/models/events/external_unified_event.rb', line 20 required :event_type, String, api_name: :eventType |
#id ⇒ String
A unique identifier for the event.
12 |
# File 'lib/hubspot_sdk/models/events/external_unified_event.rb', line 12 required :id, String |
#object_id_ ⇒ String
The objectId of the object which did the event.
26 |
# File 'lib/hubspot_sdk/models/events/external_unified_event.rb', line 26 required :object_id_, String, api_name: :objectId |
#object_type ⇒ String
The objectType for the object which did the event.
32 |
# File 'lib/hubspot_sdk/models/events/external_unified_event.rb', line 32 required :object_type, String, api_name: :objectType |
#occurred_at ⇒ Time
An ISO 8601 timestamp when the event occurred.
38 |
# File 'lib/hubspot_sdk/models/events/external_unified_event.rb', line 38 required :occurred_at, Time, api_name: :occurredAt |
#properties ⇒ Hash{Symbol=>String}
A key-value map of event-specific properties. The available properties depend on the event type definition.
45 |
# File 'lib/hubspot_sdk/models/events/external_unified_event.rb', line 45 required :properties, HubSpotSDK::Internal::Type::HashOf[String] |