Class: Onlyfans::Models::Statistics::ReachGetProfileVisitorsResponse::UnionMember0::Data::TopCountries::Row
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Onlyfans::Models::Statistics::ReachGetProfileVisitorsResponse::UnionMember0::Data::TopCountries::Row
show all
- Defined in:
- lib/onlyfans/models/statistics/reach_get_profile_visitors_response.rb,
sig/onlyfans/models/statistics/reach_get_profile_visitors_response.rbs
Defined Under Namespace
Classes: ViewsCount
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(country_code: nil, country_name: nil, rank: nil, views_count: nil) ⇒ Object
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
|
# File 'lib/onlyfans/models/statistics/reach_get_profile_visitors_response.rb', line 254
class Row < Onlyfans::Internal::Type::BaseModel
optional :country_code, String, api_name: :countryCode
optional :country_name, String, api_name: :countryName
optional :rank, Integer
optional :views_count,
-> { Onlyfans::Models::Statistics::ReachGetProfileVisitorsResponse::UnionMember0::Data::TopCountries::Row::ViewsCount },
api_name: :viewsCount
class ViewsCount < Onlyfans::Internal::Type::BaseModel
optional :guests, Integer
optional :subscribers, Integer
optional :total, Integer
optional :users, Integer
end
end
|
Instance Attribute Details
#country_code ⇒ String?
258
|
# File 'lib/onlyfans/models/statistics/reach_get_profile_visitors_response.rb', line 258
optional :country_code, String, api_name: :countryCode
|
#country_name ⇒ String?
263
|
# File 'lib/onlyfans/models/statistics/reach_get_profile_visitors_response.rb', line 263
optional :country_name, String, api_name: :countryName
|
#rank ⇒ Integer?
268
|
# File 'lib/onlyfans/models/statistics/reach_get_profile_visitors_response.rb', line 268
optional :rank, Integer
|
273
274
275
|
# File 'lib/onlyfans/models/statistics/reach_get_profile_visitors_response.rb', line 273
optional :views_count,
-> { Onlyfans::Models::Statistics::ReachGetProfileVisitorsResponse::UnionMember0::Data::TopCountries::Row::ViewsCount },
api_name: :viewsCount
|
Instance Method Details
#to_hash ⇒ {
353
|
# File 'sig/onlyfans/models/statistics/reach_get_profile_visitors_response.rbs', line 353
def to_hash: -> {
|