Class: WhopSDK::Models::AdCreateParams::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.
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
|
# File 'lib/whop_sdk/models/ad_create_params.rb', line 404
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?
408
|
# File 'lib/whop_sdk/models/ad_create_params.rb', line 408
optional :checked_by_default, WhopSDK::Internal::Type::Boolean
|
#key ⇒ String?
413
|
# File 'lib/whop_sdk/models/ad_create_params.rb', line 413
optional :key, String
|
#required ⇒ Boolean?
418
|
# File 'lib/whop_sdk/models/ad_create_params.rb', line 418
optional :required, WhopSDK::Internal::Type::Boolean
|
#text ⇒ String?
423
|
# File 'lib/whop_sdk/models/ad_create_params.rb', line 423
optional :text, String
|
Instance Method Details
#to_hash ⇒ {
467
|
# File 'sig/whop_sdk/models/ad_create_params.rbs', line 467
def to_hash: -> {
|