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, active_contact_price: nil, channel: nil, contact_id: nil, created_at: nil, customer_id: nil, direction: 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, active_contact_price: nil, channel: nil, contact_id: nil, created_at: nil, customer_id: nil, direction: 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.
Message response for v3 API — same shape as v2 with snake_case JSON conventions
175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 |
# File 'lib/sentdm/models/message_retrieve_status_response.rb', line 175 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?
179 |
# File 'lib/sentdm/models/message_retrieve_status_response.rb', line 179 optional :description, String, nil?: true |
#status ⇒ String?
184 |
# File 'lib/sentdm/models/message_retrieve_status_response.rb', line 184 optional :status, String |
#timestamp ⇒ Time?
189 |
# File 'lib/sentdm/models/message_retrieve_status_response.rb', line 189 optional :timestamp, Time |