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: , 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
|
# File 'lib/trycourier/models/notification_list_response.rb', line 22
class Result < Trycourier::Internal::Type::BaseModel
required :id, String
required :created_at, Integer
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
|
#id ⇒ String
26
|
# File 'lib/trycourier/models/notification_list_response.rb', line 26
required :id, String
|
#note ⇒ String
36
|
# File 'lib/trycourier/models/notification_list_response.rb', line 36
required :note, String
|
41
|
# File 'lib/trycourier/models/notification_list_response.rb', line 41
required :routing, -> { Trycourier::MessageRouting }
|
#title ⇒ String?
61
|
# File 'lib/trycourier/models/notification_list_response.rb', line 61
optional :title, String, nil?: true
|
#topic_id ⇒ String
46
|
# File 'lib/trycourier/models/notification_list_response.rb', line 46
required :topic_id, String
|
#updated_at ⇒ Integer
51
|
# File 'lib/trycourier/models/notification_list_response.rb', line 51
required :updated_at, Integer
|