Class: Onlyfans::Models::Settings::WelcomeMessageUpdateResponse::Data::Media::Files::Full

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

See Also:

  • Onlyfans::Models::Settings::WelcomeMessageUpdateResponse::Data::Media::Files#full

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



451
# File 'sig/onlyfans/models/settings/welcome_message_update_response.rbs', line 451

def initialize: (

Instance Attribute Details

#height ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


333
# File 'lib/onlyfans/models/settings/welcome_message_update_response.rb', line 333

optional :height, Integer

#size ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


338
# File 'lib/onlyfans/models/settings/welcome_message_update_response.rb', line 338

optional :size, Integer

#sources ⇒ Array<Object>?

Parameters:

  • (::Array[top])

Returns:

  • (Array<Object>, nil)


343
# File 'lib/onlyfans/models/settings/welcome_message_update_response.rb', line 343

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

#url ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


348
# File 'lib/onlyfans/models/settings/welcome_message_update_response.rb', line 348

optional :url, String

#width ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


353
# File 'lib/onlyfans/models/settings/welcome_message_update_response.rb', line 353

optional :width, Integer

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


459
# File 'sig/onlyfans/models/settings/welcome_message_update_response.rbs', line 459

def to_hash: -> {