Class: WhopSDK::Models::AdUpdateParams::LeadForm::Disclaimer::Checkbox
Instance Attribute 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(body: nil, checkboxes: nil, title: nil) ⇒ Object
Optional custom consent disclaimer with checkboxes.
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
|
# File 'lib/whop_sdk/models/ad_update_params.rb', line 394
class Checkbox < WhopSDK::Internal::Type::BaseModel
optional :checked_by_default, WhopSDK::Internal::Type::Boolean
optional :key, String
optional :required, WhopSDK::Internal::Type::Boolean
optional :text, String
end
|
Instance Attribute Details
#checked_by_default ⇒ Boolean?
398
|
# File 'lib/whop_sdk/models/ad_update_params.rb', line 398
optional :checked_by_default, WhopSDK::Internal::Type::Boolean
|
#key ⇒ String?
403
|
# File 'lib/whop_sdk/models/ad_update_params.rb', line 403
optional :key, String
|
#required ⇒ Boolean?
408
|
# File 'lib/whop_sdk/models/ad_update_params.rb', line 408
optional :required, WhopSDK::Internal::Type::Boolean
|
#text ⇒ String?
413
|
# File 'lib/whop_sdk/models/ad_update_params.rb', line 413
optional :text, String
|
Instance Method Details
#to_hash ⇒ {
458
|
# File 'sig/whop_sdk/models/ad_update_params.rbs', line 458
def to_hash: -> {
|