Class: Onlyfans::Models::PostArchiveResponse::Data

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

Overview

See Also:

Defined Under Namespace

Classes: Counters, LabelState

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(archived_posts_count: nil, audios_count: nil, medias_count: nil, photos_count: nil, posts_count: nil, private_archived_posts_count: nil, streams_count: nil, videos_count: nil) ⇒ Object

Parameters:

  • archived_posts_count (Integer) (defaults to: nil)
  • audios_count (Integer) (defaults to: nil)
  • medias_count (Integer) (defaults to: nil)
  • photos_count (Integer) (defaults to: nil)
  • posts_count (Integer) (defaults to: nil)
  • private_archived_posts_count (Integer) (defaults to: nil)
  • streams_count (Integer) (defaults to: nil)
  • videos_count (Integer) (defaults to: nil)


# File 'lib/onlyfans/models/post_archive_response.rb', line 127

Instance Attribute Details

#countersOnlyfans::Models::PostArchiveResponse::Data::Counters?



118
# File 'lib/onlyfans/models/post_archive_response.rb', line 118

optional :counters, -> { Onlyfans::Models::PostArchiveResponse::Data::Counters }

#label_statesArray<Onlyfans::Models::PostArchiveResponse::Data::LabelState>?



123
124
125
# File 'lib/onlyfans/models/post_archive_response.rb', line 123

optional :label_states,
-> { Onlyfans::Internal::Type::ArrayOf[Onlyfans::Models::PostArchiveResponse::Data::LabelState] },
api_name: :labelStates