Class: Sentdm::Models::ConversationMessagesList::Message::MessageBody::Button
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(postback_data: nil, text: nil, type: nil, value: nil) ⇒ Object
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
|
# File 'lib/sentdm/models/conversation_messages_list.rb', line 214
class Button < Sentdm::Internal::Type::BaseModel
optional :postback_data, String, api_name: :postbackData, nil?: true
optional :text, String, nil?: true
optional :type, String
optional :value, String
end
|
Instance Attribute Details
#postback_data ⇒ String?
218
|
# File 'lib/sentdm/models/conversation_messages_list.rb', line 218
optional :postback_data, String, api_name: :postbackData, nil?: true
|
#text ⇒ String?
223
|
# File 'lib/sentdm/models/conversation_messages_list.rb', line 223
optional :text, String, nil?: true
|
#type ⇒ String?
228
|
# File 'lib/sentdm/models/conversation_messages_list.rb', line 228
optional :type, String
|
#value ⇒ String?
233
|
# File 'lib/sentdm/models/conversation_messages_list.rb', line 233
optional :value, String
|
Instance Method Details
#to_hash ⇒ {
229
|
# File 'sig/sentdm/models/conversation_messages_list.rbs', line 229
def to_hash: -> {
|