Class: Courier::Models::NotificationListResponse::Result::Notification
Defined Under Namespace
Classes: Tags
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(id:, created_at:, event_ids:, routing:, topic_id:, updated_at:, note: nil, tags: nil, title: nil) ⇒ Object
|
# File 'lib/courier/models/notification_list_response.rb', line 80
|
Instance Attribute Details
#created_at ⇒ Integer
42
|
# File 'lib/courier/models/notification_list_response.rb', line 42
required :created_at, Integer
|
#event_ids ⇒ Array<String>
Array of event IDs associated with this notification
48
|
# File 'lib/courier/models/notification_list_response.rb', line 48
required :event_ids, Courier::Internal::Type::ArrayOf[String]
|
#id ⇒ String
37
|
# File 'lib/courier/models/notification_list_response.rb', line 37
required :id, String
|
#note ⇒ String?
68
|
# File 'lib/courier/models/notification_list_response.rb', line 68
optional :note, String
|
53
|
# File 'lib/courier/models/notification_list_response.rb', line 53
required :routing, -> { Courier::MessageRouting }
|
#title ⇒ String?
78
|
# File 'lib/courier/models/notification_list_response.rb', line 78
optional :title, String, nil?: true
|
#topic_id ⇒ String
58
|
# File 'lib/courier/models/notification_list_response.rb', line 58
required :topic_id, String
|
#updated_at ⇒ Integer
63
|
# File 'lib/courier/models/notification_list_response.rb', line 63
required :updated_at, Integer
|