Class: Sentdm::Models::TemplateUpdateParams::Definition::Header::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
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
|
# File 'lib/sentdm/models/template_update_params.rb', line 896
class Variable < Sentdm::Internal::Type::BaseModel
required :name, String
required :props, -> { Sentdm::TemplateUpdateParams::Definition::Header::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?
915
|
# File 'lib/sentdm/models/template_update_params.rb', line 915
optional :id, Integer
|
#name ⇒ String
900
|
# File 'lib/sentdm/models/template_update_params.rb', line 900
required :name, String
|
905
|
# File 'lib/sentdm/models/template_update_params.rb', line 905
required :props, -> { Sentdm::TemplateUpdateParams::Definition::Header::Variable::Props }
|
#type ⇒ String
910
|
# File 'lib/sentdm/models/template_update_params.rb', line 910
required :type, String
|