Class: WhopSDK::Models::AdUpdateParams::LeadForm::Question::Option::Logic

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/whop_sdk/models/ad_update_params.rb,
sig/whop_sdk/models/ad_update_params.rbs

Overview

See Also:

  • WhopSDK::Models::AdUpdateParams::LeadForm::Question::Option#logic

Defined Under Namespace

Modules: Action

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(action: nil, target_end_page_index: nil, target_question_index: nil) ⇒ Object

Parameters:



# File 'lib/whop_sdk/models/ad_update_params.rb', line 557

Instance Attribute Details

#actionSymbol, ...



545
# File 'lib/whop_sdk/models/ad_update_params.rb', line 545

optional :action, enum: -> { WhopSDK::AdUpdateParams::LeadForm::Question::Option::Logic::Action }

#target_end_page_indexInteger?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


550
# File 'lib/whop_sdk/models/ad_update_params.rb', line 550

optional :target_end_page_index, Integer

#target_question_indexInteger?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


555
# File 'lib/whop_sdk/models/ad_update_params.rb', line 555

optional :target_question_index, Integer

Instance Method Details

#to_hash{

Returns:

  • ({)


629
# File 'sig/whop_sdk/models/ad_update_params.rbs', line 629

def to_hash: -> {