Class: Onlyfans::Models::UserListRetrieveResponse::Meta::RateLimits

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

Overview

See Also:

  • Onlyfans::Models::UserListRetrieveResponse::Meta#_rate_limits

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



135
# File 'sig/onlyfans/models/user_list_retrieve_response.rbs', line 135

def initialize: (

Instance Attribute Details

#limit_day ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


88
# File 'lib/onlyfans/models/user_list_retrieve_response.rb', line 88

optional :limit_day, Integer

#limit_minute ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


93
# File 'lib/onlyfans/models/user_list_retrieve_response.rb', line 93

optional :limit_minute, Integer

#remaining_day ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


98
# File 'lib/onlyfans/models/user_list_retrieve_response.rb', line 98

optional :remaining_day, Integer

#remaining_minute ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


103
# File 'lib/onlyfans/models/user_list_retrieve_response.rb', line 103

optional :remaining_minute, Integer

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


142
# File 'sig/onlyfans/models/user_list_retrieve_response.rbs', line 142

def to_hash: -> {