Class: Onlyfans::Models::Statistics::ReachGetProfileVisitorsResponse::UnionMember1::Data::Chart::Duration

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

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(duration: nil, visitors: nil) ⇒ Object



563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
# File 'lib/onlyfans/models/statistics/reach_get_profile_visitors_response.rb', line 563

class Duration < Onlyfans::Internal::Type::BaseModel
  # @!attribute count
  #
  #   @return [Integer, nil]
  optional :count, Integer

  # @!attribute date
  #
  #   @return [String, nil]
  optional :date, String

  # @!method initialize(count: nil, date: nil)
  #   @param count [Integer]
  #   @param date [String]
end

Instance Attribute Details

#countInteger?

Returns:

  • (Integer, nil)


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

optional :count, Integer

#dateString?

Returns:

  • (String, nil)


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

optional :date, String