Class: Onlyfans::Models::FanListLatestResponse::Data::User::ListsState

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/fan_list_latest_response.rb,
sig/onlyfans/models/fan_list_latest_response.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



620
# File 'sig/onlyfans/models/fan_list_latest_response.rbs', line 620

def initialize: (

Instance Attribute Details

#can_add_user ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


508
# File 'lib/onlyfans/models/fan_list_latest_response.rb', line 508

optional :can_add_user, Onlyfans::Internal::Type::Boolean, api_name: :canAddUser

#cannot_add_user_reason ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


513
# File 'lib/onlyfans/models/fan_list_latest_response.rb', line 513

optional :cannot_add_user_reason, String, api_name: :cannotAddUserReason

#has_user ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


518
# File 'lib/onlyfans/models/fan_list_latest_response.rb', line 518

optional :has_user, Onlyfans::Internal::Type::Boolean, api_name: :hasUser

#id ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


503
# File 'lib/onlyfans/models/fan_list_latest_response.rb', line 503

optional :id, String

#name ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


523
# File 'lib/onlyfans/models/fan_list_latest_response.rb', line 523

optional :name, String

#type ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


528
# File 'lib/onlyfans/models/fan_list_latest_response.rb', line 528

optional :type, String

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


629
# File 'sig/onlyfans/models/fan_list_latest_response.rbs', line 629

def to_hash: -> {