Class: Onlyfans::Models::PostListResponse::Meta::Cache
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Onlyfans::Models::PostListResponse::Meta::Cache
- Defined in:
- lib/onlyfans/models/post_list_response.rb,
sig/onlyfans/models/post_list_response.rbs
Overview
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Cache
constructor
A new instance of Cache.
- #to_hash ⇒ { is_cached: bool, note: 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 ⇒ Cache
Returns a new instance of Cache.
81 |
# File 'sig/onlyfans/models/post_list_response.rbs', line 81
def initialize: (?is_cached: bool, ?note: String) -> void
|
Instance Attribute Details
#is_cached ⇒ Boolean?
48 |
# File 'lib/onlyfans/models/post_list_response.rb', line 48 optional :is_cached, Onlyfans::Internal::Type::Boolean |
#note ⇒ String?
53 |
# File 'lib/onlyfans/models/post_list_response.rb', line 53 optional :note, String |
Instance Method Details
#to_hash ⇒ { is_cached: bool, note: String }
83 |
# File 'sig/onlyfans/models/post_list_response.rbs', line 83
def to_hash: -> { is_cached: bool, note: String }
|