Class: Onlyfans::Models::PostUnarchiveResponse::Data::Counters

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/post_unarchive_response.rb,
sig/onlyfans/models/post_unarchive_response.rbs

Overview

See Also:

  • Onlyfans::Models::PostUnarchiveResponse::Data#counters

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 ⇒ Object



225
# File 'sig/onlyfans/models/post_unarchive_response.rbs', line 225

def initialize: (

Instance Attribute Details

#archived_posts_count ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


136
# File 'lib/onlyfans/models/post_unarchive_response.rb', line 136

optional :archived_posts_count, Integer, api_name: :archivedPostsCount

#audios_count ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


141
# File 'lib/onlyfans/models/post_unarchive_response.rb', line 141

optional :audios_count, Integer, api_name: :audiosCount

#medias_count ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


146
# File 'lib/onlyfans/models/post_unarchive_response.rb', line 146

optional :medias_count, Integer, api_name: :mediasCount

#photos_count ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


151
# File 'lib/onlyfans/models/post_unarchive_response.rb', line 151

optional :photos_count, Integer, api_name: :photosCount

#posts_count ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


156
# File 'lib/onlyfans/models/post_unarchive_response.rb', line 156

optional :posts_count, Integer, api_name: :postsCount

#private_archived_posts_count ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


161
# File 'lib/onlyfans/models/post_unarchive_response.rb', line 161

optional :private_archived_posts_count, Integer, api_name: :privateArchivedPostsCount

#streams_count ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


166
# File 'lib/onlyfans/models/post_unarchive_response.rb', line 166

optional :streams_count, Integer, api_name: :streamsCount

#videos_count ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


171
# File 'lib/onlyfans/models/post_unarchive_response.rb', line 171

optional :videos_count, Integer, api_name: :videosCount

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


236
# File 'sig/onlyfans/models/post_unarchive_response.rbs', line 236

def to_hash: -> {