Class: Onlyfans::Models::Statistics::ReachGetProfileVisitorsResponse::UnionMember2::Data

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/statistics/reach_get_profile_visitors_response.rb

Overview

See Also:

Defined Under Namespace

Classes: TopCountries

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], 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

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(has_stats: nil, is_available: nil, top_countries: nil) ⇒ Object

Parameters:



# File 'lib/onlyfans/models/statistics/reach_get_profile_visitors_response.rb', line 746

Instance Attribute Details

#has_statsBoolean?

Returns:

  • (Boolean, nil)


732
# File 'lib/onlyfans/models/statistics/reach_get_profile_visitors_response.rb', line 732

optional :has_stats, Onlyfans::Internal::Type::Boolean, api_name: :hasStats

#is_availableBoolean?

Returns:

  • (Boolean, nil)


737
# File 'lib/onlyfans/models/statistics/reach_get_profile_visitors_response.rb', line 737

optional :is_available, Onlyfans::Internal::Type::Boolean, api_name: :isAvailable

#top_countriesOnlyfans::Models::Statistics::ReachGetProfileVisitorsResponse::UnionMember2::Data::TopCountries?



742
743
744
# File 'lib/onlyfans/models/statistics/reach_get_profile_visitors_response.rb', line 742

optional :top_countries,
-> { Onlyfans::Models::Statistics::ReachGetProfileVisitorsResponse::UnionMember2::Data::TopCountries },
api_name: :topCountries