Class: Onlyfans::Models::NotificationListResponse::Data::List
Defined Under Namespace
Classes: ReplacePairs, User
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(price: nil, subscriber_link: nil) ⇒ Object
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
|
# File 'lib/onlyfans/models/notification_list_response.rb', line 130
class List < Onlyfans::Internal::Type::BaseModel
optional :id, Integer
optional :can_go_to_profile, Onlyfans::Internal::Type::Boolean, api_name: :canGoToProfile
optional :created_at, String, api_name: :createdAt
optional :is_read, Onlyfans::Internal::Type::Boolean, api_name: :isRead
optional :replace_pairs,
-> { Onlyfans::Models::NotificationListResponse::Data::List::ReplacePairs },
api_name: :replacePairs
optional :sub_type, String, api_name: :subType
optional :text, String
optional :type, String
optional :user, -> { Onlyfans::Models::NotificationListResponse::Data::List::User }
class ReplacePairs < Onlyfans::Internal::Type::BaseModel
optional :price, String, api_name: :"{PRICE}"
optional :subscriber_link, String, api_name: :"{SUBSCRIBER_LINK}"
end
class User < Onlyfans::Internal::Type::BaseModel
optional :id, Integer
optional :_view, String
end
end
|
Instance Attribute Details
#can_go_to_profile ⇒ Boolean?
139
|
# File 'lib/onlyfans/models/notification_list_response.rb', line 139
optional :can_go_to_profile, Onlyfans::Internal::Type::Boolean, api_name: :canGoToProfile
|
#created_at ⇒ String?
144
|
# File 'lib/onlyfans/models/notification_list_response.rb', line 144
optional :created_at, String, api_name: :createdAt
|
#id ⇒ Integer?
134
|
# File 'lib/onlyfans/models/notification_list_response.rb', line 134
optional :id, Integer
|
#is_read ⇒ Boolean?
149
|
# File 'lib/onlyfans/models/notification_list_response.rb', line 149
optional :is_read, Onlyfans::Internal::Type::Boolean, api_name: :isRead
|
154
155
156
|
# File 'lib/onlyfans/models/notification_list_response.rb', line 154
optional :replace_pairs,
-> { Onlyfans::Models::NotificationListResponse::Data::List::ReplacePairs },
api_name: :replacePairs
|
#sub_type ⇒ String?
161
|
# File 'lib/onlyfans/models/notification_list_response.rb', line 161
optional :sub_type, String, api_name: :subType
|
#text ⇒ String?
166
|
# File 'lib/onlyfans/models/notification_list_response.rb', line 166
optional :text, String
|
#type ⇒ String?
171
|
# File 'lib/onlyfans/models/notification_list_response.rb', line 171
optional :type, String
|
176
|
# File 'lib/onlyfans/models/notification_list_response.rb', line 176
optional :user, -> { Onlyfans::Models::NotificationListResponse::Data::List::User }
|
Instance Method Details
#to_hash ⇒ {
244
|
# File 'sig/onlyfans/models/notification_list_response.rbs', line 244
def to_hash: -> {
|