Class: HubSpotSDK::Models::Events::ComboEventRuleBranch

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

Defined Under Namespace

Modules: OperationType

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(composing_rules:, operation_type:, rule_branches:) ⇒ Object



# File 'lib/hubspot_sdk/models/events/combo_event_rule_branch.rb', line 28

Instance Attribute Details

#composing_rulesArray<HubSpotSDK::Models::Events::ComboEventRule>



10
11
12
# File 'lib/hubspot_sdk/models/events/combo_event_rule_branch.rb', line 10

required :composing_rules,
-> { HubSpotSDK::Internal::Type::ArrayOf[HubSpotSDK::Events::ComboEventRule] },
api_name: :composingRules

#operation_typeSymbol, HubSpotSDK::Models::Events::ComboEventRuleBranch::OperationType



17
18
19
# File 'lib/hubspot_sdk/models/events/combo_event_rule_branch.rb', line 17

required :operation_type,
enum: -> { HubSpotSDK::Events::ComboEventRuleBranch::OperationType },
api_name: :operationType

#rule_branchesArray<HubSpotSDK::Models::Events::ComboEventRuleBranch>



24
25
26
# File 'lib/hubspot_sdk/models/events/combo_event_rule_branch.rb', line 24

required :rule_branches,
-> { HubSpotSDK::Internal::Type::ArrayOf[HubSpotSDK::Events::ComboEventRuleBranch] },
api_name: :ruleBranches