Class: HubSpotSDK::Models::Webhooks::ListMembershipSubscriptionUpsertRequest

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/hubspot_sdk/models/webhooks/list_membership_subscription_upsert_request.rb

Defined Under Namespace

Modules: Action, SubscriptionType

Instance Attribute Summary collapse

Class Method Summary collapse

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

#actionsArray<Symbol, HubSpotSDK::Models::Webhooks::ListMembershipSubscriptionUpsertRequest::Action>



10
11
# File 'lib/hubspot_sdk/models/webhooks/list_membership_subscription_upsert_request.rb', line 10

required :actions,
-> { HubSpotSDK::Internal::Type::ArrayOf[enum: HubSpotSDK::Webhooks::ListMembershipSubscriptionUpsertRequest::Action] }

#list_idsArray<Integer>

Returns:

  • (Array<Integer>)


16
# File 'lib/hubspot_sdk/models/webhooks/list_membership_subscription_upsert_request.rb', line 16

required :list_ids, HubSpotSDK::Internal::Type::ArrayOf[Integer], api_name: :listIds

#object_idsArray<Integer>

Returns:

  • (Array<Integer>)


21
# File 'lib/hubspot_sdk/models/webhooks/list_membership_subscription_upsert_request.rb', line 21

required :object_ids, HubSpotSDK::Internal::Type::ArrayOf[Integer], api_name: :objectIds

#portal_idInteger

Returns:

  • (Integer)


26
# File 'lib/hubspot_sdk/models/webhooks/list_membership_subscription_upsert_request.rb', line 26

required :portal_id, Integer, api_name: :portalId

#subscription_typeSymbol, HubSpotSDK::Models::Webhooks::ListMembershipSubscriptionUpsertRequest::SubscriptionType



31
32
33
# File 'lib/hubspot_sdk/models/webhooks/list_membership_subscription_upsert_request.rb', line 31

required :subscription_type,
enum: -> { HubSpotSDK::Webhooks::ListMembershipSubscriptionUpsertRequest::SubscriptionType },
api_name: :subscriptionType

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/hubspot_sdk/models/webhooks/list_membership_subscription_upsert_request.rb', line 58