Class: Sentdm::Models::MessageRetrieveActivitiesResponse::Data::Activity
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Sentdm::Models::MessageRetrieveActivitiesResponse::Data::Activity
- Defined in:
- lib/sentdm/models/message_retrieve_activities_response.rb
Instance Attribute Summary collapse
-
#content ⇒ String?
Additional content or payload for the activity (e.g., channel response).
-
#description ⇒ String?
Human-readable description of the activity.
-
#status ⇒ String?
Activity status (e.g., ACCEPTED, PROCESSED, SENT, DELIVERED, FAILED).
-
#timestamp ⇒ Time?
When this activity occurred.
Instance Method Summary collapse
-
#initialize(content: nil, description: nil, status: nil, timestamp: nil) ⇒ Object
constructor
A single message activity event for v3 API.
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(content: nil, description: nil, status: nil, timestamp: nil) ⇒ Object
A single message activity event for v3 API
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
# File 'lib/sentdm/models/message_retrieve_activities_response.rb', line 64 class Activity < Sentdm::Internal::Type::BaseModel # @!attribute content # Additional content or payload for the activity (e.g., channel response) # # @return [String, nil] optional :content, String, nil?: true # @!attribute description # Human-readable description of the activity # # @return [String, nil] optional :description, String # @!attribute status # Activity status (e.g., ACCEPTED, PROCESSED, SENT, DELIVERED, FAILED) # # @return [String, nil] optional :status, String # @!attribute timestamp # When this activity occurred # # @return [Time, nil] optional :timestamp, Time # @!method initialize(content: nil, description: nil, status: nil, timestamp: nil) # A single message activity event for v3 API # # @param content [String, nil] Additional content or payload for the activity (e.g., channel response) # # @param description [String] Human-readable description of the activity # # @param status [String] Activity status (e.g., ACCEPTED, PROCESSED, SENT, DELIVERED, FAILED) # # @param timestamp [Time] When this activity occurred end |
Instance Attribute Details
#content ⇒ String?
Additional content or payload for the activity (e.g., channel response)
69 |
# File 'lib/sentdm/models/message_retrieve_activities_response.rb', line 69 optional :content, String, nil?: true |
#description ⇒ String?
Human-readable description of the activity
75 |
# File 'lib/sentdm/models/message_retrieve_activities_response.rb', line 75 optional :description, String |
#status ⇒ String?
Activity status (e.g., ACCEPTED, PROCESSED, SENT, DELIVERED, FAILED)
81 |
# File 'lib/sentdm/models/message_retrieve_activities_response.rb', line 81 optional :status, String |
#timestamp ⇒ Time?
When this activity occurred
87 |
# File 'lib/sentdm/models/message_retrieve_activities_response.rb', line 87 optional :timestamp, Time |