Class: Trycourier::Models::NotificationListResponse::Result
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:, note:, routing:, topic_id:, updated_at:, tags: nil, title: nil) ⇒ Object
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
# File 'lib/trycourier/models/notification_list_response.rb', line 22
class Result < Trycourier::Internal::Type::BaseModel
required :id, String
required :created_at, Integer
required :event_ids, Trycourier::Internal::Type::ArrayOf[String]
required :note, String
required :routing, -> { Trycourier::MessageRouting }
required :topic_id, String
required :updated_at, Integer
optional :tags, -> { Trycourier::Models::NotificationListResponse::Result::Tags }, nil?: true
optional :title, String, nil?: true
class Tags < Trycourier::Internal::Type::BaseModel
required :data,
-> { Trycourier::Internal::Type::ArrayOf[Trycourier::Models::NotificationListResponse::Result::Tags::Data] }
class Data < Trycourier::Internal::Type::BaseModel
required :id, String
required :name, String
end
end
end
|
Instance Attribute Details
#created_at ⇒ Integer
31
|
# File 'lib/trycourier/models/notification_list_response.rb', line 31
required :created_at, Integer
|
#event_ids ⇒ Array<String>
Array of event IDs associated with this notification
37
|
# File 'lib/trycourier/models/notification_list_response.rb', line 37
required :event_ids, Trycourier::Internal::Type::ArrayOf[String]
|
#id ⇒ String
26
|
# File 'lib/trycourier/models/notification_list_response.rb', line 26
required :id, String
|
#note ⇒ String
42
|
# File 'lib/trycourier/models/notification_list_response.rb', line 42
required :note, String
|
47
|
# File 'lib/trycourier/models/notification_list_response.rb', line 47
required :routing, -> { Trycourier::MessageRouting }
|
62
|
# File 'lib/trycourier/models/notification_list_response.rb', line 62
optional :tags, -> { Trycourier::Models::NotificationListResponse::Result::Tags }, nil?: true
|
#title ⇒ String?
67
|
# File 'lib/trycourier/models/notification_list_response.rb', line 67
optional :title, String, nil?: true
|
#topic_id ⇒ String
52
|
# File 'lib/trycourier/models/notification_list_response.rb', line 52
required :topic_id, String
|
#updated_at ⇒ Integer
57
|
# File 'lib/trycourier/models/notification_list_response.rb', line 57
required :updated_at, Integer
|