Class: Onlyfans::Models::GiphySearchResponse::Data::Images::Original

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/giphy_search_response.rb

Overview

See Also:

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(height: nil, mp4: nil, url: nil, webp: nil, width: nil) ⇒ Object

Parameters:

  • height (String) (defaults to: nil)
  • mp4 (String) (defaults to: nil)
  • url (String) (defaults to: nil)
  • webp (String) (defaults to: nil)
  • width (String) (defaults to: nil)


# File 'lib/onlyfans/models/giphy_search_response.rb', line 236

Instance Attribute Details

#heightString?

Returns:

  • (String, nil)


214
# File 'lib/onlyfans/models/giphy_search_response.rb', line 214

optional :height, String

#mp4String?

Returns:

  • (String, nil)


219
# File 'lib/onlyfans/models/giphy_search_response.rb', line 219

optional :mp4, String

#urlString?

Returns:

  • (String, nil)


224
# File 'lib/onlyfans/models/giphy_search_response.rb', line 224

optional :url, String

#webpString?

Returns:

  • (String, nil)


229
# File 'lib/onlyfans/models/giphy_search_response.rb', line 229

optional :webp, String

#widthString?

Returns:

  • (String, nil)


234
# File 'lib/onlyfans/models/giphy_search_response.rb', line 234

optional :width, String