Class: Onlyfans::Models::Posts::CommentListResponse::Data::List
Defined Under Namespace
Classes: Author
Instance Attribute Summary collapse
Instance Method Summary
collapse
-
#initialize(id: nil, author: nil, can_like: nil, changed_at: nil, giphy_id: nil, is_liked: nil, is_liked_by_author: nil, is_pinned: nil, likes_count: nil, posted_at: nil, text: nil) ⇒ Object
constructor
==, #==, #[], 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: nil, author: nil, can_like: nil, changed_at: nil, giphy_id: nil, is_liked: nil, is_liked_by_author: nil, is_pinned: nil, likes_count: nil, posted_at: nil, text: nil) ⇒ Object
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/posts/comment_list_response.rb', line 137
class List < Onlyfans::Internal::Type::BaseModel
optional :id, Integer
optional :author, -> { Onlyfans::Models::Posts::CommentListResponse::Data::List::Author }
optional :can_like, Onlyfans::Internal::Type::Boolean, api_name: :canLike
optional :changed_at, String, api_name: :changedAt
optional :giphy_id, String, api_name: :giphyId, nil?: true
optional :is_liked, Onlyfans::Internal::Type::Boolean, api_name: :isLiked
optional :is_liked_by_author, Onlyfans::Internal::Type::Boolean, api_name: :isLikedByAuthor
optional :is_pinned, Onlyfans::Internal::Type::Boolean, api_name: :isPinned
optional :likes_count, Integer, api_name: :likesCount
optional :posted_at, String, api_name: :postedAt
optional :text, String
class Author < Onlyfans::Internal::Type::BaseModel
optional :id, Integer
optional :_view, String
end
end
|
Instance Attribute Details
#can_like ⇒ Boolean?
151
|
# File 'lib/onlyfans/models/posts/comment_list_response.rb', line 151
optional :can_like, Onlyfans::Internal::Type::Boolean, api_name: :canLike
|
#changed_at ⇒ String?
156
|
# File 'lib/onlyfans/models/posts/comment_list_response.rb', line 156
optional :changed_at, String, api_name: :changedAt
|
#giphy_id ⇒ String?
161
|
# File 'lib/onlyfans/models/posts/comment_list_response.rb', line 161
optional :giphy_id, String, api_name: :giphyId, nil?: true
|
#id ⇒ Integer?
141
|
# File 'lib/onlyfans/models/posts/comment_list_response.rb', line 141
optional :id, Integer
|
#is_liked ⇒ Boolean?
166
|
# File 'lib/onlyfans/models/posts/comment_list_response.rb', line 166
optional :is_liked, Onlyfans::Internal::Type::Boolean, api_name: :isLiked
|
#is_liked_by_author ⇒ Boolean?
171
|
# File 'lib/onlyfans/models/posts/comment_list_response.rb', line 171
optional :is_liked_by_author, Onlyfans::Internal::Type::Boolean, api_name: :isLikedByAuthor
|
#is_pinned ⇒ Boolean?
176
|
# File 'lib/onlyfans/models/posts/comment_list_response.rb', line 176
optional :is_pinned, Onlyfans::Internal::Type::Boolean, api_name: :isPinned
|
#likes_count ⇒ Integer?
181
|
# File 'lib/onlyfans/models/posts/comment_list_response.rb', line 181
optional :likes_count, Integer, api_name: :likesCount
|
#posted_at ⇒ String?
186
|
# File 'lib/onlyfans/models/posts/comment_list_response.rb', line 186
optional :posted_at, String, api_name: :postedAt
|
#text ⇒ String?
191
|
# File 'lib/onlyfans/models/posts/comment_list_response.rb', line 191
optional :text, String
|