Class: HubSpotSDK::Models::Events::ExternalUnifiedEvent

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/hubspot_sdk/models/events/external_unified_event.rb

Overview

Instance Attribute Summary collapse

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_typeString

The format of the ‘eventType` string is `aeappId_eventTypeLabel`, `peportalId_eventTypeLabel`, or just `e_eventTypeLabel` for HubSpot events.

Returns:

  • (String)


20
# File 'lib/hubspot_sdk/models/events/external_unified_event.rb', line 20

required :event_type, String, api_name: :eventType

#idString

A unique identifier for the event.

Returns:

  • (String)


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.

Returns:

  • (String)


26
# File 'lib/hubspot_sdk/models/events/external_unified_event.rb', line 26

required :object_id_, String, api_name: :objectId

#object_typeString

The objectType for the object which did the event.

Returns:

  • (String)


32
# File 'lib/hubspot_sdk/models/events/external_unified_event.rb', line 32

required :object_type, String, api_name: :objectType

#occurred_atTime

An ISO 8601 timestamp when the event occurred.

Returns:

  • (Time)


38
# File 'lib/hubspot_sdk/models/events/external_unified_event.rb', line 38

required :occurred_at, Time, api_name: :occurredAt

#propertiesHash{Symbol=>String}

A key-value map of event-specific properties. The available properties depend on the event type definition.

Returns:

  • (Hash{Symbol=>String})


45
# File 'lib/hubspot_sdk/models/events/external_unified_event.rb', line 45

required :properties, HubSpotSDK::Internal::Type::HashOf[String]