Class: Onlyfans::Models::TrackingLinkListSpendersParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/onlyfans/models/tracking_link_list_spenders_params.rb

Overview

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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(account:, tracking_link_id:, limit: nil, min_spend: nil, offset: nil, request_options: {}) ⇒ Object

Parameters:

  • account (String)
  • tracking_link_id (String)
  • limit (Integer) (defaults to: nil)

    The number of spenders to return per page. Default ‘50`.

  • min_spend (Float) (defaults to: nil)

    Minimal spend of a fan. Default ‘1`. Must be at least 1.

  • offset (Integer) (defaults to: nil)

    The offset used for pagination. Default ‘0`.

  • request_options (Onlyfans::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


# File 'lib/onlyfans/models/tracking_link_list_spenders_params.rb', line 38

Instance Attribute Details

#accountString

Returns:

  • (String)


13
# File 'lib/onlyfans/models/tracking_link_list_spenders_params.rb', line 13

required :account, String

#limitInteger?

The number of spenders to return per page. Default ‘50`.

Returns:

  • (Integer, nil)


24
# File 'lib/onlyfans/models/tracking_link_list_spenders_params.rb', line 24

optional :limit, Integer

#min_spendFloat?

Minimal spend of a fan. Default ‘1`. Must be at least 1.

Returns:

  • (Float, nil)


30
# File 'lib/onlyfans/models/tracking_link_list_spenders_params.rb', line 30

optional :min_spend, Float

#offsetInteger?

The offset used for pagination. Default ‘0`.

Returns:

  • (Integer, nil)


36
# File 'lib/onlyfans/models/tracking_link_list_spenders_params.rb', line 36

optional :offset, Integer

Returns:

  • (String)


18
# File 'lib/onlyfans/models/tracking_link_list_spenders_params.rb', line 18

required :tracking_link_id, String