Class: Onlyfans::Models::ChatListMediaResponse::Data::List::Media::Files
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/chat_list_media_response.rb', line 436
|
Instance Attribute Details
417
|
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 417
optional :full, -> { Onlyfans::Models::ChatListMediaResponse::Data::List::Media::Files::Full }
|
422
|
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 422
optional :preview, -> { Onlyfans::Models::ChatListMediaResponse::Data::List::Media::Files::Preview }
|
427
428
429
|
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 427
optional :square_preview,
-> { Onlyfans::Models::ChatListMediaResponse::Data::List::Media::Files::SquarePreview },
api_name: :squarePreview
|
434
|
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 434
optional :thumb, -> { Onlyfans::Models::ChatListMediaResponse::Data::List::Media::Files::Thumb }
|
Instance Method Details
#to_hash ⇒ {
556
|
# File 'sig/onlyfans/models/chat_list_media_response.rbs', line 556
def to_hash: -> {
|