Class: HubSpotSDK::Models::Account::PublicAPIUserActionEvent

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/hubspot_sdk/models/account/public_api_user_action_event.rb

Overview

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:, acting_user:, action:, category:, occurred_at:, sub_category: nil, target_object_id: nil) ⇒ Object

Parameters:

  • id (String)

    The login activity’s unique ID.

  • acting_user (HubSpotSDK::Models::Account::ActingUser)
  • action (String)

    The type of action taken.

  • category (String)

    The category of the activity.

  • occurred_at (Time)

    The time that the action occurred at.

  • sub_category (String) (defaults to: nil)

    The subcategory of the activity.

  • target_object_id (String) (defaults to: nil)

    The ID of the impacted object.



# File 'lib/hubspot_sdk/models/account/public_api_user_action_event.rb', line 49

Instance Attribute Details

#acting_userHubSpotSDK::Models::Account::ActingUser



17
# File 'lib/hubspot_sdk/models/account/public_api_user_action_event.rb', line 17

required :acting_user, -> { HubSpotSDK::Account::ActingUser }, api_name: :actingUser

#actionString

The type of action taken.

Returns:

  • (String)


23
# File 'lib/hubspot_sdk/models/account/public_api_user_action_event.rb', line 23

required :action, String

#categoryString

The category of the activity.

Returns:

  • (String)


29
# File 'lib/hubspot_sdk/models/account/public_api_user_action_event.rb', line 29

required :category, String

#idString

The login activity’s unique ID.

Returns:

  • (String)


12
# File 'lib/hubspot_sdk/models/account/public_api_user_action_event.rb', line 12

required :id, String

#occurred_atTime

The time that the action occurred at.

Returns:

  • (Time)


35
# File 'lib/hubspot_sdk/models/account/public_api_user_action_event.rb', line 35

required :occurred_at, Time, api_name: :occurredAt

#sub_categoryString?

The subcategory of the activity.

Returns:

  • (String, nil)


41
# File 'lib/hubspot_sdk/models/account/public_api_user_action_event.rb', line 41

optional :sub_category, String, api_name: :subCategory

#target_object_idString?

The ID of the impacted object.

Returns:

  • (String, nil)


47
# File 'lib/hubspot_sdk/models/account/public_api_user_action_event.rb', line 47

optional :target_object_id, String, api_name: :targetObjectId