Class: Onlyfans::Models::UserLists::UserRemoveResponse::Data::UserState

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/user_lists/user_remove_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(id: nil, can_add_user: nil, cannot_add_user_reason: nil, has_user: nil, name: nil, type: nil) ⇒ Object

Parameters:

  • id (Integer) (defaults to: nil)
  • can_add_user (Boolean) (defaults to: nil)
  • cannot_add_user_reason (String, nil) (defaults to: nil)
  • has_user (Boolean) (defaults to: nil)
  • name (String) (defaults to: nil)
  • type (String) (defaults to: nil)


# File 'lib/onlyfans/models/user_lists/user_remove_response.rb', line 339

Instance Attribute Details

#can_add_userBoolean?

Returns:

  • (Boolean, nil)


317
# File 'lib/onlyfans/models/user_lists/user_remove_response.rb', line 317

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

#cannot_add_user_reasonString?

Returns:

  • (String, nil)


322
# File 'lib/onlyfans/models/user_lists/user_remove_response.rb', line 322

optional :cannot_add_user_reason, String, api_name: :cannotAddUserReason, nil?: true

#has_userBoolean?

Returns:

  • (Boolean, nil)


327
# File 'lib/onlyfans/models/user_lists/user_remove_response.rb', line 327

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

#idInteger?

Returns:

  • (Integer, nil)


312
# File 'lib/onlyfans/models/user_lists/user_remove_response.rb', line 312

optional :id, Integer

#nameString?

Returns:

  • (String, nil)


332
# File 'lib/onlyfans/models/user_lists/user_remove_response.rb', line 332

optional :name, String

#typeString?

Returns:

  • (String, nil)


337
# File 'lib/onlyfans/models/user_lists/user_remove_response.rb', line 337

optional :type, String