Class: Onlyfans::Models::TrackingLinkRetrieveResponse::Data::Cost

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

Overview

See Also:

  • Onlyfans::Models::TrackingLinkRetrieveResponse::Data#cost

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



279
# File 'sig/onlyfans/models/tracking_link_retrieve_response.rbs', line 279

def initialize: (

Instance Attribute Details

#click_source_count ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


200
# File 'lib/onlyfans/models/tracking_link_retrieve_response.rb', line 200

optional :click_source_count, Integer, api_name: :clickSourceCount

#input_mode ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


205
# File 'lib/onlyfans/models/tracking_link_retrieve_response.rb', line 205

optional :input_mode, String, api_name: :inputMode, nil?: true

#input_value ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


210
# File 'lib/onlyfans/models/tracking_link_retrieve_response.rb', line 210

optional :input_value, String, api_name: :inputValue, nil?: true

#per_click ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


215
# File 'lib/onlyfans/models/tracking_link_retrieve_response.rb', line 215

optional :per_click, String, api_name: :perClick, nil?: true

#per_promo ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


220
# File 'lib/onlyfans/models/tracking_link_retrieve_response.rb', line 220

optional :per_promo, String, api_name: :perPromo, nil?: true

#per_sub ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


225
# File 'lib/onlyfans/models/tracking_link_retrieve_response.rb', line 225

optional :per_sub, String, api_name: :perSub, nil?: true

#subscriber_source_count ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


230
# File 'lib/onlyfans/models/tracking_link_retrieve_response.rb', line 230

optional :subscriber_source_count, Integer, api_name: :subscriberSourceCount

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


289
# File 'sig/onlyfans/models/tracking_link_retrieve_response.rbs', line 289

def to_hash: -> {