Class: Onlyfans::Models::QueueCountResponse::Data::List::Const2025_01_02

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

Overview

See Also:

  • Onlyfans::Models::QueueCountResponse::Data::List#number_2025_01_02

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(chat: nil, post: nil) ⇒ Const2025_01_02

Returns a new instance of Const2025_01_02.

Parameters:

  • chat (Integer) (defaults to: nil)
  • post (Integer) (defaults to: nil)
  • chat: (Integer) (defaults to: nil)
  • post: (Integer) (defaults to: nil)


# File 'lib/onlyfans/models/queue_count_response.rb', line 172

Instance Attribute Details

#chat ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


165
# File 'lib/onlyfans/models/queue_count_response.rb', line 165

optional :chat, Integer

#post ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


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

optional :post, Integer

Instance Method Details

#to_hash ⇒ { chat: Integer, post: Integer }

Returns:

  • ({ chat: Integer, post: Integer })


232
# File 'sig/onlyfans/models/queue_count_response.rbs', line 232

def to_hash: -> { chat: Integer, post: Integer }