Class: Sentdm::Models::MessageRetrieveStatusResponse::Data::Event
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Sentdm::Models::MessageRetrieveStatusResponse::Data::Event
- Defined in:
- lib/sentdm/models/message_retrieve_status_response.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(id: nil, channel: nil, contact_id: nil, created_at: nil, customer_id: nil, events: nil, message_body: nil, phone: nil, phone_international: nil, price: nil, region_code: nil, status: nil, template_category: nil, template_id: nil, template_name: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see Sentdm::Models::MessageRetrieveStatusResponse::Data 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(id: nil, channel: nil, contact_id: nil, created_at: nil, customer_id: nil, events: nil, message_body: nil, phone: nil, phone_international: nil, price: nil, region_code: nil, status: nil, template_category: nil, template_id: nil, template_name: nil) ⇒ Object
Some parameter documentations has been truncated, see Sentdm::Models::MessageRetrieveStatusResponse::Data for more details.
The response data (null if error)
161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 |
# File 'lib/sentdm/models/message_retrieve_status_response.rb', line 161 class Event < Sentdm::Internal::Type::BaseModel # @!attribute description # # @return [String, nil] optional :description, String, nil?: true # @!attribute status # # @return [String, nil] optional :status, String # @!attribute timestamp # # @return [Time, nil] optional :timestamp, Time # @!method initialize(description: nil, status: nil, timestamp: nil) # Represents a status change event in a message's lifecycle (v3) # # @param description [String, nil] # @param status [String] # @param timestamp [Time] end |
Instance Attribute Details
#description ⇒ String?
165 |
# File 'lib/sentdm/models/message_retrieve_status_response.rb', line 165 optional :description, String, nil?: true |
#status ⇒ String?
170 |
# File 'lib/sentdm/models/message_retrieve_status_response.rb', line 170 optional :status, String |
#timestamp ⇒ Time?
175 |
# File 'lib/sentdm/models/message_retrieve_status_response.rb', line 175 optional :timestamp, Time |