Class: Onlyfans::Models::GiphySearchResponse::Data

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

Defined Under Namespace

Classes: Images

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(id: nil, embed_url: nil, images: nil, rating: nil, slug: nil, title: nil, type: nil, url: nil, username: nil) ⇒ Object

Parameters:

  • id (String) (defaults to: nil)
  • embed_url (String) (defaults to: nil)
  • images (Onlyfans::Models::GiphySearchResponse::Data::Images) (defaults to: nil)
  • rating (String) (defaults to: nil)
  • slug (String) (defaults to: nil)
  • title (String) (defaults to: nil)
  • type (String) (defaults to: nil)
  • url (String) (defaults to: nil)
  • username (String) (defaults to: nil)


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

Instance Attribute Details

#embed_urlString?

Returns:

  • (String, nil)


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

optional :embed_url, String

#idString?

Returns:

  • (String, nil)


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

optional :id, String

#imagesOnlyfans::Models::GiphySearchResponse::Data::Images?



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

optional :images, -> { Onlyfans::Models::GiphySearchResponse::Data::Images }

#ratingString?

Returns:

  • (String, nil)


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

optional :rating, String

#slugString?

Returns:

  • (String, nil)


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

optional :slug, String

#titleString?

Returns:

  • (String, nil)


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

optional :title, String

#typeString?

Returns:

  • (String, nil)


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

optional :type, String

#urlString?

Returns:

  • (String, nil)


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

optional :url, String

#usernameString?

Returns:

  • (String, nil)


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

optional :username, String