Class: Onlyfans::Models::NotificationGetCountsResponse::Data

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

Overview

See Also:

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(all: nil, commented: nil, deactivated_media: nil, favorited: nil, mentioned: nil, message: nil, purchases: nil, subscribed: nil, system_: nil, tags: nil, tip: nil) ⇒ Object

Parameters:

  • all (Integer) (defaults to: nil)
  • commented (Integer) (defaults to: nil)
  • deactivated_media (Integer) (defaults to: nil)
  • favorited (Integer) (defaults to: nil)
  • mentioned (Integer) (defaults to: nil)
  • message (Integer) (defaults to: nil)
  • purchases (Integer) (defaults to: nil)
  • subscribed (Integer) (defaults to: nil)
  • system_ (Integer) (defaults to: nil)
  • tags (Integer) (defaults to: nil)
  • tip (Integer) (defaults to: nil)


# File 'lib/onlyfans/models/notification_get_counts_response.rb', line 170

Instance Attribute Details

#allInteger?

Returns:

  • (Integer, nil)


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

optional :all, Integer

#commentedInteger?

Returns:

  • (Integer, nil)


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

optional :commented, Integer

#deactivated_mediaInteger?

Returns:

  • (Integer, nil)


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

optional :deactivated_media, Integer

#favoritedInteger?

Returns:

  • (Integer, nil)


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

optional :favorited, Integer

#mentionedInteger?

Returns:

  • (Integer, nil)


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

optional :mentioned, Integer

#messageInteger?

Returns:

  • (Integer, nil)


143
# File 'lib/onlyfans/models/notification_get_counts_response.rb', line 143

optional :message, Integer

#purchasesInteger?

Returns:

  • (Integer, nil)


148
# File 'lib/onlyfans/models/notification_get_counts_response.rb', line 148

optional :purchases, Integer

#subscribedInteger?

Returns:

  • (Integer, nil)


153
# File 'lib/onlyfans/models/notification_get_counts_response.rb', line 153

optional :subscribed, Integer

#system_Integer?

Returns:

  • (Integer, nil)


158
# File 'lib/onlyfans/models/notification_get_counts_response.rb', line 158

optional :system_, Integer, api_name: :system

#tagsInteger?

Returns:

  • (Integer, nil)


163
# File 'lib/onlyfans/models/notification_get_counts_response.rb', line 163

optional :tags, Integer

#tipInteger?

Returns:

  • (Integer, nil)


168
# File 'lib/onlyfans/models/notification_get_counts_response.rb', line 168

optional :tip, Integer