Class: Onlyfans::Models::Users::BlockCreateResponse::Data::ListsState

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



875
# File 'sig/onlyfans/models/users/block_create_response.rbs', line 875

def initialize: (

Instance Attribute Details

#can_add_user ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


740
# File 'lib/onlyfans/models/users/block_create_response.rb', line 740

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

#cannot_add_user_reason ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


745
# File 'lib/onlyfans/models/users/block_create_response.rb', line 745

optional :cannot_add_user_reason, String, api_name: :cannotAddUserReason

#has_user ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


750
# File 'lib/onlyfans/models/users/block_create_response.rb', line 750

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

#id ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


735
# File 'lib/onlyfans/models/users/block_create_response.rb', line 735

optional :id, String

#name ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


755
# File 'lib/onlyfans/models/users/block_create_response.rb', line 755

optional :name, String

#type ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


760
# File 'lib/onlyfans/models/users/block_create_response.rb', line 760

optional :type, String

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


884
# File 'sig/onlyfans/models/users/block_create_response.rbs', line 884

def to_hash: -> {