Class: Onlyfans::Models::PostListResponse::Data

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

Overview

See Also:

Defined Under Namespace

Classes: Counters, List

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_list_response.rb', line 140

Instance Attribute Details

#countersOnlyfans::Models::PostListResponse::Data::Counters?



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

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

#has_moreBoolean?

Returns:

  • (Boolean, nil)


123
# File 'lib/onlyfans/models/post_list_response.rb', line 123

optional :has_more, Onlyfans::Internal::Type::Boolean, api_name: :hasMore

#head_markerString?

Returns:

  • (String, nil)


128
# File 'lib/onlyfans/models/post_list_response.rb', line 128

optional :head_marker, String, api_name: :headMarker

#listArray<Onlyfans::Models::PostListResponse::Data::List>?



133
# File 'lib/onlyfans/models/post_list_response.rb', line 133

optional :list, -> { Onlyfans::Internal::Type::ArrayOf[Onlyfans::Models::PostListResponse::Data::List] }

#tail_markerString?

Returns:

  • (String, nil)


138
# File 'lib/onlyfans/models/post_list_response.rb', line 138

optional :tail_marker, String, api_name: :tailMarker