Class: Onlyfans::Models::SavedForLater::Posts::SettingDisableAutomaticPostingResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/saved_for_later/posts/setting_disable_automatic_posting_response.rb,
sig/onlyfans/models/saved_for_later/posts/setting_disable_automatic_posting_response.rbs

Overview

See Also:

  • Onlyfans::Resources::SavedForLater::Posts::Settings#disable_automatic_posting

Defined Under Namespace

Classes: Meta

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(_meta: nil, data: nil) ⇒ Object

Parameters:

  • (defaults to: nil)
  • (defaults to: nil)


# File 'lib/onlyfans/models/saved_for_later/posts/setting_disable_automatic_posting_response.rb', line 20


Instance Attribute Details

#_meta ⇒ Onlyfans::Models::SavedForLater::Posts::SettingDisableAutomaticPostingResponse::Meta?

Returns:



12
13
# File 'lib/onlyfans/models/saved_for_later/posts/setting_disable_automatic_posting_response.rb', line 12

optional :_meta,
-> { Onlyfans::Models::SavedForLater::Posts::SettingDisableAutomaticPostingResponse::Meta }

#data ⇒ Array<Object>?

Parameters:

Returns:



18
# File 'lib/onlyfans/models/saved_for_later/posts/setting_disable_automatic_posting_response.rb', line 18

optional :data, Onlyfans::Internal::Type::ArrayOf[Onlyfans::Internal::Type::Unknown]

Instance Method Details

#to_hash ⇒ {

Returns:



27
# File 'sig/onlyfans/models/saved_for_later/posts/setting_disable_automatic_posting_response.rbs', line 27

def to_hash: -> {