Class: Onlyfans::Models::Media::VaultListResponse::Data::List::ListState

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



435
# File 'sig/onlyfans/models/media/vault_list_response.rbs', line 435

def initialize: (

Instance Attribute Details

#can_add_media ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


320
# File 'lib/onlyfans/models/media/vault_list_response.rb', line 320

optional :can_add_media, Onlyfans::Internal::Type::Boolean, api_name: :canAddMedia

#has_media ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


325
# File 'lib/onlyfans/models/media/vault_list_response.rb', line 325

optional :has_media, Onlyfans::Internal::Type::Boolean, api_name: :hasMedia

#id ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


315
# File 'lib/onlyfans/models/media/vault_list_response.rb', line 315

optional :id, Integer

#name ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


330
# File 'lib/onlyfans/models/media/vault_list_response.rb', line 330

optional :name, String

#type ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


335
# File 'lib/onlyfans/models/media/vault_list_response.rb', line 335

optional :type, String

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


443
# File 'sig/onlyfans/models/media/vault_list_response.rbs', line 443

def to_hash: -> {