Class: Onlyfans::Models::AuthenticateStartParams::CustomProxy

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

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



135
# File 'sig/onlyfans/models/authenticate_start_params.rbs', line 135

def initialize: (

Instance Attribute Details

#host ⇒ String?

The hostname or IP address of your custom proxy server

Parameters:

  • (String)

Returns:

  • (String, nil)


133
# File 'lib/onlyfans/models/authenticate_start_params.rb', line 133

optional :host, String

#password ⇒ String?

The password for proxy authentication (optional)

Parameters:

  • (String)

Returns:

  • (String, nil)


139
# File 'lib/onlyfans/models/authenticate_start_params.rb', line 139

optional :password, String

#port ⇒ Integer?

The port number of your custom proxy server (1-65535)

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


145
# File 'lib/onlyfans/models/authenticate_start_params.rb', line 145

optional :port, Integer

#username ⇒ String?

The username for proxy authentication (optional)

Parameters:

  • (String)

Returns:

  • (String, nil)


151
# File 'lib/onlyfans/models/authenticate_start_params.rb', line 151

optional :username, String

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


142
# File 'sig/onlyfans/models/authenticate_start_params.rbs', line 142

def to_hash: -> {