Class: Onlyfans::Models::AccountListResponseItem::OnlyfansUserData::Upload::GeoUploadArgs

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

Overview

See Also:

  • Onlyfans::Models::AccountListResponseItem::OnlyfansUserData::Upload#geo_upload_args

Defined Under Namespace

Classes: Additional

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(additional: nil, is_delay: nil, need_thumbs: nil, preset: nil, preset_png: nil, protected_preset: nil) ⇒ Object

Parameters:



# File 'lib/onlyfans/models/account_list_response.rb', line 871


Instance Attribute Details

#additional ⇒ Onlyfans::Models::AccountListResponseItem::OnlyfansUserData::Upload::GeoUploadArgs::Additional?



843
844
# File 'lib/onlyfans/models/account_list_response.rb', line 843

optional :additional,
-> { Onlyfans::Models::AccountListResponseItem::OnlyfansUserData::Upload::GeoUploadArgs::Additional }

#is_delay ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


849
# File 'lib/onlyfans/models/account_list_response.rb', line 849

optional :is_delay, Onlyfans::Internal::Type::Boolean, api_name: :isDelay

#need_thumbs ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


854
# File 'lib/onlyfans/models/account_list_response.rb', line 854

optional :need_thumbs, Onlyfans::Internal::Type::Boolean, api_name: :needThumbs

#preset ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


859
# File 'lib/onlyfans/models/account_list_response.rb', line 859

optional :preset, String

#preset_png ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


864
# File 'lib/onlyfans/models/account_list_response.rb', line 864

optional :preset_png, String

#protected_preset ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


869
# File 'lib/onlyfans/models/account_list_response.rb', line 869

optional :protected_preset, String

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


990
# File 'sig/onlyfans/models/account_list_response.rbs', line 990

def to_hash: -> {