Class: Onlyfans::Models::UserLists::UserRemoveResponse::Data::UserState
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/onlyfans/models/user_lists/user_remove_response.rb,
sig/onlyfans/models/user_lists/user_remove_response.rbs
Overview
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
#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
|
# File 'lib/onlyfans/models/user_lists/user_remove_response.rb', line 339
|
Instance Attribute Details
#can_add_user ⇒ Boolean?
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_reason ⇒ String?
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_user ⇒ Boolean?
327
|
# File 'lib/onlyfans/models/user_lists/user_remove_response.rb', line 327
optional :has_user, Onlyfans::Internal::Type::Boolean, api_name: :hasUser
|
#id ⇒ Integer?
312
|
# File 'lib/onlyfans/models/user_lists/user_remove_response.rb', line 312
optional :id, Integer
|
#name ⇒ String?
332
|
# File 'lib/onlyfans/models/user_lists/user_remove_response.rb', line 332
optional :name, String
|
#type ⇒ String?
337
|
# File 'lib/onlyfans/models/user_lists/user_remove_response.rb', line 337
optional :type, String
|
Instance Method Details
#to_hash ⇒ {
435
|
# File 'sig/onlyfans/models/user_lists/user_remove_response.rbs', line 435
def to_hash: -> {
|