Class: Onlyfans::Models::Chats::MarkAllAsReadAllResponse::Meta::Cache

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/chats/mark_all_as_read_all_response.rb,
sig/onlyfans/models/chats/mark_all_as_read_all_response.rbs

Overview

See Also:

  • Onlyfans::Models::Chats::MarkAllAsReadAllResponse::Meta#_cache

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 ⇒ Cache

Returns a new instance of Cache.

Parameters:

  • is_cached: (Boolean)
  • note: (String)


82
# File 'sig/onlyfans/models/chats/mark_all_as_read_all_response.rbs', line 82

def initialize: (?is_cached: bool, ?note: String) -> void

Instance Attribute Details

#is_cached ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


49
# File 'lib/onlyfans/models/chats/mark_all_as_read_all_response.rb', line 49

optional :is_cached, Onlyfans::Internal::Type::Boolean

#note ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


54
# File 'lib/onlyfans/models/chats/mark_all_as_read_all_response.rb', line 54

optional :note, String

Instance Method Details

#to_hash ⇒ { is_cached: bool, note: String }

Returns:

  • ({ is_cached: bool, note: String })


84
# File 'sig/onlyfans/models/chats/mark_all_as_read_all_response.rbs', line 84

def to_hash: -> { is_cached: bool, note: String }