Class: Sentdm::Models::MessageRetrieveStatusResponse::Data::MessageBody::Button

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/sentdm/models/message_retrieve_status_response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(type: nil, value: nil) ⇒ Object

Parameters:

  • type (String) (defaults to: nil)
  • value (String) (defaults to: nil)


232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
# File 'lib/sentdm/models/message_retrieve_status_response.rb', line 232

class Button < Sentdm::Internal::Type::BaseModel
  # @!attribute type
  #
  #   @return [String, nil]
  optional :type, String

  # @!attribute value
  #
  #   @return [String, nil]
  optional :value, String

  # @!method initialize(type: nil, value: nil)
  #   @param type [String]
  #   @param value [String]
end

Instance Attribute Details

#typeString?

Returns:

  • (String, nil)


236
# File 'lib/sentdm/models/message_retrieve_status_response.rb', line 236

optional :type, String

#valueString?

Returns:

  • (String, nil)


241
# File 'lib/sentdm/models/message_retrieve_status_response.rb', line 241

optional :value, String