Module: HubSpotSDK::Models::Webhooks::ObjectSubscriptionUpsertRequest::Action

Extended by:
Internal::Type::Enum
Defined in:
lib/hubspot_sdk/models/webhooks/object_subscription_upsert_request.rb

Constant Summary collapse

CREATE =
:CREATE
UPDATE =
:UPDATE
DELETE =
:DELETE
MERGE =
:MERGE
RESTORE =
:RESTORE
ASSOCIATION_ADDED =
:ASSOCIATION_ADDED
ASSOCIATION_REMOVED =
:ASSOCIATION_REMOVED
SNAPSHOT =
:SNAPSHOT
APP_INSTALL =
:APP_INSTALL
APP_UNINSTALL =
:APP_UNINSTALL
ADDED_TO_LIST =
:ADDED_TO_LIST
REMOVED_FROM_LIST =
:REMOVED_FROM_LIST

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Instance Method Details

#initialize(actions:, object_ids:, object_type_id:, portal_id:, properties:, subscription_type:) ⇒ Object

Parameters:



48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# File 'lib/hubspot_sdk/models/webhooks/object_subscription_upsert_request.rb', line 48

module Action
  extend HubSpotSDK::Internal::Type::Enum

  CREATE = :CREATE
  UPDATE = :UPDATE
  DELETE = :DELETE
  MERGE = :MERGE
  RESTORE = :RESTORE
  ASSOCIATION_ADDED = :ASSOCIATION_ADDED
  ASSOCIATION_REMOVED = :ASSOCIATION_REMOVED
  SNAPSHOT = :SNAPSHOT
  APP_INSTALL = :APP_INSTALL
  APP_UNINSTALL = :APP_UNINSTALL
  ADDED_TO_LIST = :ADDED_TO_LIST
  REMOVED_FROM_LIST = :REMOVED_FROM_LIST

  # @!method self.values
  #   @return [Array<Symbol>]
end