Class: Onlyfans::Models::SettingRetrieveResponse::Data::CanAddSubscriberByBundle::Discounts

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

Overview

See Also:

  • Onlyfans::Models::SettingRetrieveResponse::Data::CanAddSubscriberByBundle#discounts

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



706
# File 'sig/onlyfans/models/setting_retrieve_response.rbs', line 706

def initialize: (

Instance Attribute Details

#number_0 ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


578
# File 'lib/onlyfans/models/setting_retrieve_response.rb', line 578

optional :number_0, String, api_name: :"0"

#number_10 ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


583
# File 'lib/onlyfans/models/setting_retrieve_response.rb', line 583

optional :number_10, String, api_name: :"10"

#number_15 ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


588
# File 'lib/onlyfans/models/setting_retrieve_response.rb', line 588

optional :number_15, String, api_name: :"15"

#number_20 ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


593
# File 'lib/onlyfans/models/setting_retrieve_response.rb', line 593

optional :number_20, String, api_name: :"20"

#number_25 ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


598
# File 'lib/onlyfans/models/setting_retrieve_response.rb', line 598

optional :number_25, String, api_name: :"25"

#number_30 ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


603
# File 'lib/onlyfans/models/setting_retrieve_response.rb', line 603

optional :number_30, String, api_name: :"30"

#number_35 ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


608
# File 'lib/onlyfans/models/setting_retrieve_response.rb', line 608

optional :number_35, String, api_name: :"35"

#number_40 ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


613
# File 'lib/onlyfans/models/setting_retrieve_response.rb', line 613

optional :number_40, String, api_name: :"40"

#number_45 ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


618
# File 'lib/onlyfans/models/setting_retrieve_response.rb', line 618

optional :number_45, String, api_name: :"45"

#number_5 ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


623
# File 'lib/onlyfans/models/setting_retrieve_response.rb', line 623

optional :number_5, String, api_name: :"5"

#number_50 ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


628
# File 'lib/onlyfans/models/setting_retrieve_response.rb', line 628

optional :number_50, String, api_name: :"50"

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


720
# File 'sig/onlyfans/models/setting_retrieve_response.rbs', line 720

def to_hash: -> {