Class: Onlyfans::Models::FanSetCustomNameResponse::Data::ListsState

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



604
# File 'sig/onlyfans/models/fan_set_custom_name_response.rbs', line 604

def initialize: (

Instance Attribute Details

#can_add_user ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


501
# File 'lib/onlyfans/models/fan_set_custom_name_response.rb', line 501

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

#cannot_add_user_reason ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


506
# File 'lib/onlyfans/models/fan_set_custom_name_response.rb', line 506

optional :cannot_add_user_reason, String, api_name: :cannotAddUserReason

#has_user ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


511
# File 'lib/onlyfans/models/fan_set_custom_name_response.rb', line 511

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

#id ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


496
# File 'lib/onlyfans/models/fan_set_custom_name_response.rb', line 496

optional :id, String

#name ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


516
# File 'lib/onlyfans/models/fan_set_custom_name_response.rb', line 516

optional :name, String

#type ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


521
# File 'lib/onlyfans/models/fan_set_custom_name_response.rb', line 521

optional :type, String

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


613
# File 'sig/onlyfans/models/fan_set_custom_name_response.rbs', line 613

def to_hash: -> {