Class: Sentdm::Models::SentDmServicesCommonContractsPocOsTemplateButton
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Sentdm::Models::SentDmServicesCommonContractsPocOsTemplateButton
- Defined in:
- lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rb
Instance Attribute Summary collapse
-
#id ⇒ Integer?
The unique identifier of the button (1-based index).
-
#props ⇒ Sentdm::Models::SentDmServicesCommonContractsPocOsTemplateButtonProps
Properties specific to the button type.
-
#type ⇒ String
The type of button (e.g., QUICK_REPLY, URL, PHONE_NUMBER, VOICE_CALL, COPY_CODE).
Instance Method Summary collapse
-
#initialize(props:, type:, id: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see SentDmServicesCommonContractsPocOsTemplateButton for more details.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], 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
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(props:, type:, id: nil) ⇒ Object
Some parameter documentations has been truncated, see Sentdm::Models::SentDmServicesCommonContractsPocOsTemplateButton for more details.
Interactive button in a message template
|
|
# File 'lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rb', line 24
|
Instance Attribute Details
#id ⇒ Integer?
The unique identifier of the button (1-based index)
22 |
# File 'lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rb', line 22 optional :id, Integer |
#props ⇒ Sentdm::Models::SentDmServicesCommonContractsPocOsTemplateButtonProps
Properties specific to the button type
10 |
# File 'lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rb', line 10 required :props, -> { Sentdm::SentDmServicesCommonContractsPocOsTemplateButtonProps } |
#type ⇒ String
The type of button (e.g., QUICK_REPLY, URL, PHONE_NUMBER, VOICE_CALL, COPY_CODE)
16 |
# File 'lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rb', line 16 required :type, String |