Class: Onlyfans::Models::SavedForLater::Messages::SettingRetrieveResponse::Data
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/onlyfans/models/saved_for_later/messages/setting_retrieve_response.rb,
sig/onlyfans/models/saved_for_later/messages/setting_retrieve_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(current_code: nil, is_enabled: nil, options: nil) ⇒ Object
|
# File 'lib/onlyfans/models/saved_for_later/messages/setting_retrieve_response.rb', line 134
|
Instance Attribute Details
#current_code ⇒ Integer?
122
|
# File 'lib/onlyfans/models/saved_for_later/messages/setting_retrieve_response.rb', line 122
optional :current_code, Integer, api_name: :currentCode
|
#is_enabled ⇒ Boolean?
127
|
# File 'lib/onlyfans/models/saved_for_later/messages/setting_retrieve_response.rb', line 127
optional :is_enabled, Onlyfans::Internal::Type::Boolean, api_name: :isEnabled
|
#options ⇒ Array<Integer>?
132
|
# File 'lib/onlyfans/models/saved_for_later/messages/setting_retrieve_response.rb', line 132
optional :options, Onlyfans::Internal::Type::ArrayOf[Integer]
|
Instance Method Details
#to_hash ⇒ {
179
|
# File 'sig/onlyfans/models/saved_for_later/messages/setting_retrieve_response.rbs', line 179
def to_hash: -> {
|