Class: WhopSDK::Models::AdUpdateParams::LeadForm::Question
Defined Under Namespace
Modules: Format, Type
Classes: Option
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(format_: nil, label: nil, options: nil, type: nil) ⇒ Object
|
# File 'lib/whop_sdk/models/ad_update_params.rb', line 501
|
Instance Attribute Details
479
480
481
482
483
|
# File 'lib/whop_sdk/models/ad_update_params.rb', line 479
optional :format_,
enum: -> {
WhopSDK::AdUpdateParams::LeadForm::Question::Format
},
api_name: :format
|
#label ⇒ String?
488
|
# File 'lib/whop_sdk/models/ad_update_params.rb', line 488
optional :label, String
|
493
494
|
# File 'lib/whop_sdk/models/ad_update_params.rb', line 493
optional :options,
-> { WhopSDK::Internal::Type::ArrayOf[WhopSDK::AdUpdateParams::LeadForm::Question::Option] }
|
#type ⇒ Symbol, ...
499
|
# File 'lib/whop_sdk/models/ad_update_params.rb', line 499
optional :type, enum: -> { WhopSDK::AdUpdateParams::LeadForm::Question::Type }
|
Class Method Details
.values ⇒ Array<Symbol>
|
# File 'lib/whop_sdk/models/ad_update_params.rb', line 515
|
Instance Method Details
#to_hash ⇒ {
548
|
# File 'sig/whop_sdk/models/ad_update_params.rbs', line 548
def to_hash: -> {
|