Class: Sentdm::Models::MessageRetrieveStatusResponse::Data::MessageBody::Button
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Sentdm::Models::MessageRetrieveStatusResponse::Data::MessageBody::Button
- Defined in:
- lib/sentdm/models/message_retrieve_status_response.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(buttons: nil, content: nil, footer: nil, header: nil) ⇒ Object
constructor
Structured message body format for database storage.
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(buttons: nil, content: nil, footer: nil, header: nil) ⇒ Object
Structured message body format for database storage. Preserves channel-specific components (header, body, footer, buttons).
232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 |
# File 'lib/sentdm/models/message_retrieve_status_response.rb', line 232 class Button < Sentdm::Internal::Type::BaseModel # @!attribute postback_data # # @return [String, nil] optional :postback_data, String, api_name: :postbackData, nil?: true # @!attribute text # # @return [String, nil] optional :text, String, nil?: true # @!attribute type # # @return [String, nil] optional :type, String # @!attribute value # # @return [String, nil] optional :value, String # @!method initialize(postback_data: nil, text: nil, type: nil, value: nil) # @param postback_data [String, nil] # @param text [String, nil] # @param type [String] # @param value [String] end |
Instance Attribute Details
#postback_data ⇒ String?
236 |
# File 'lib/sentdm/models/message_retrieve_status_response.rb', line 236 optional :postback_data, String, api_name: :postbackData, nil?: true |
#text ⇒ String?
241 |
# File 'lib/sentdm/models/message_retrieve_status_response.rb', line 241 optional :text, String, nil?: true |
#type ⇒ String?
246 |
# File 'lib/sentdm/models/message_retrieve_status_response.rb', line 246 optional :type, String |
#value ⇒ String?
251 |
# File 'lib/sentdm/models/message_retrieve_status_response.rb', line 251 optional :value, String |