Class: Sentdm::Models::TemplateUpdateParams::Definition::Footer::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
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
|
# File 'lib/sentdm/models/template_update_params.rb', line 783
class Variable < Sentdm::Internal::Type::BaseModel
required :name, String
required :props, -> { Sentdm::TemplateUpdateParams::Definition::Footer::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?
802
|
# File 'lib/sentdm/models/template_update_params.rb', line 802
optional :id, Integer
|
#name ⇒ String
787
|
# File 'lib/sentdm/models/template_update_params.rb', line 787
required :name, String
|
792
|
# File 'lib/sentdm/models/template_update_params.rb', line 792
required :props, -> { Sentdm::TemplateUpdateParams::Definition::Footer::Variable::Props }
|
#type ⇒ String
797
|
# File 'lib/sentdm/models/template_update_params.rb', line 797
required :type, String
|