Class: Onlyfans::Models::Settings::WelcomeMessageUpdateResponse::Data::Media::Files
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/onlyfans/models/settings/welcome_message_update_response.rb,
sig/onlyfans/models/settings/welcome_message_update_response.rbs
Overview
Defined Under Namespace
Classes: Full, Preview, SquarePreview, Thumb
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(height: nil, size: nil, url: nil, width: nil) ⇒ Object
|
# File 'lib/onlyfans/models/settings/welcome_message_update_response.rb', line 322
|
Instance Attribute Details
301
|
# File 'lib/onlyfans/models/settings/welcome_message_update_response.rb', line 301
optional :full, -> { Onlyfans::Models::Settings::WelcomeMessageUpdateResponse::Data::Media::Files::Full }
|
306
307
|
# File 'lib/onlyfans/models/settings/welcome_message_update_response.rb', line 306
optional :preview,
-> { Onlyfans::Models::Settings::WelcomeMessageUpdateResponse::Data::Media::Files::Preview }
|
312
313
314
|
# File 'lib/onlyfans/models/settings/welcome_message_update_response.rb', line 312
optional :square_preview,
-> { Onlyfans::Models::Settings::WelcomeMessageUpdateResponse::Data::Media::Files::SquarePreview },
api_name: :squarePreview
|
319
320
|
# File 'lib/onlyfans/models/settings/welcome_message_update_response.rb', line 319
optional :thumb,
-> { Onlyfans::Models::Settings::WelcomeMessageUpdateResponse::Data::Media::Files::Thumb }
|
Instance Method Details
#to_hash ⇒ {
414
|
# File 'sig/onlyfans/models/settings/welcome_message_update_response.rbs', line 414
def to_hash: -> {
|