Class: Onlyfans::Models::SettingRetrieveResponse::Data::CanAddSubscriberByBundle::Durations

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

Overview

See Also:

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(number_12: nil, number_3: nil, number_6: nil) ⇒ Object

Parameters:

  • number_12 (String) (defaults to: nil)
  • number_3 (String) (defaults to: nil)
  • number_6 (String) (defaults to: nil)


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

Instance Attribute Details

#number_12String?

Returns:

  • (String, nil)


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

optional :number_12, String, api_name: :"12"

#number_3String?

Returns:

  • (String, nil)


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

optional :number_3, String, api_name: :"3"

#number_6String?

Returns:

  • (String, nil)


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

optional :number_6, String, api_name: :"6"