Class: Sentdm::Models::TemplateUpdateParams::Definition::Body::Whatsapp::Variable
Defined Under Namespace
Classes: Props
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(name:, props:, type:, id: nil) ⇒ Object
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
|
# File 'lib/sentdm/models/template_update_params.rb', line 532
class Variable < Sentdm::Internal::Type::BaseModel
required :name, String
required :props, -> { Sentdm::TemplateUpdateParams::Definition::Body::Whatsapp::Variable::Props }
required :type, String
optional :id, Integer
class Props < Sentdm::Internal::Type::BaseModel
required :media_type, String, api_name: :mediaType
required :sample, String
required :url, String
required :variable_type, String, api_name: :variableType
optional :alt, String, nil?: true
optional :regex, String, nil?: true
optional :short_url, String, api_name: :shortUrl, nil?: true
end
end
|
Instance Attribute Details
#id ⇒ Integer?
551
|
# File 'lib/sentdm/models/template_update_params.rb', line 551
optional :id, Integer
|
#name ⇒ String
536
|
# File 'lib/sentdm/models/template_update_params.rb', line 536
required :name, String
|
541
|
# File 'lib/sentdm/models/template_update_params.rb', line 541
required :props, -> { Sentdm::TemplateUpdateParams::Definition::Body::Whatsapp::Variable::Props }
|
#type ⇒ String
546
|
# File 'lib/sentdm/models/template_update_params.rb', line 546
required :type, String
|