Class: Onlyfans::Models::Statistics::ReachGetProfileVisitorsResponse::UnionMember2::Data::TopCountries::Row
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Onlyfans::Models::Statistics::ReachGetProfileVisitorsResponse::UnionMember2::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
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
|
# File 'lib/onlyfans/models/statistics/reach_get_profile_visitors_response.rb', line 775
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::UnionMember2::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?
779
|
# File 'lib/onlyfans/models/statistics/reach_get_profile_visitors_response.rb', line 779
optional :country_code, String, api_name: :countryCode
|
#country_name ⇒ String?
784
|
# File 'lib/onlyfans/models/statistics/reach_get_profile_visitors_response.rb', line 784
optional :country_name, String, api_name: :countryName
|
#rank ⇒ Integer?
789
|
# File 'lib/onlyfans/models/statistics/reach_get_profile_visitors_response.rb', line 789
optional :rank, Integer
|
794
795
796
|
# File 'lib/onlyfans/models/statistics/reach_get_profile_visitors_response.rb', line 794
optional :views_count,
-> { Onlyfans::Models::Statistics::ReachGetProfileVisitorsResponse::UnionMember2::Data::TopCountries::Row::ViewsCount },
api_name: :viewsCount
|
Instance Method Details
#to_hash ⇒ {
1044
|
# File 'sig/onlyfans/models/statistics/reach_get_profile_visitors_response.rbs', line 1044
def to_hash: -> {
|