Class: Onlyfans::Models::MediaScrapeResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Onlyfans::Models::MediaScrapeResponse
- Defined in:
- lib/onlyfans/models/media_scrape_response.rb,
sig/onlyfans/models/media_scrape_response.rbs
Overview
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(expiration_date: nil, temporary_url: nil) ⇒ MediaScrapeResponse
constructor
A new instance of MediaScrapeResponse.
- #to_hash ⇒ { expiration_date: String, temporary_url: String }
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(expiration_date: nil, temporary_url: nil) ⇒ MediaScrapeResponse
Returns a new instance of MediaScrapeResponse.
|
|
# File 'lib/onlyfans/models/media_scrape_response.rb', line 17
|
Instance Attribute Details
#expiration_date ⇒ String?
10 |
# File 'lib/onlyfans/models/media_scrape_response.rb', line 10 optional :expiration_date, String |
#temporary_url ⇒ String?
15 |
# File 'lib/onlyfans/models/media_scrape_response.rb', line 15 optional :temporary_url, String |
Instance Method Details
#to_hash ⇒ { expiration_date: String, temporary_url: String }
17 |
# File 'sig/onlyfans/models/media_scrape_response.rbs', line 17
def to_hash: -> { expiration_date: String, temporary_url: String }
|