Class: Onlyfans::Models::Engagement::Messages::DirectMessageChartResponse::Data::DirectMessagesPurchases

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/onlyfans/models/engagement/messages/direct_message_chart_response.rb,
sig/onlyfans/models/engagement/messages/direct_message_chart_response.rbs

Overview

See Also:

  • Onlyfans::Models::Engagement::Messages::DirectMessageChartResponse::Data#direct_messages_purchases

Defined Under Namespace

Classes: Chart

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



258
# File 'sig/onlyfans/models/engagement/messages/direct_message_chart_response.rbs', line 258

def initialize: (

Instance Attribute Details

#chart ⇒ Array<Onlyfans::Models::Engagement::Messages::DirectMessageChartResponse::Data::DirectMessagesPurchases::Chart>?



186
187
# File 'lib/onlyfans/models/engagement/messages/direct_message_chart_response.rb', line 186

optional :chart,
-> { Onlyfans::Internal::Type::ArrayOf[Onlyfans::Models::Engagement::Messages::DirectMessageChartResponse::Data::DirectMessagesPurchases::Chart] }

#delta ⇒ Float?

Parameters:

  • (Float)

Returns:

  • (Float, nil)


192
# File 'lib/onlyfans/models/engagement/messages/direct_message_chart_response.rb', line 192

optional :delta, Float

#total ⇒ Float?

Parameters:

  • (Float)

Returns:

  • (Float, nil)


197
# File 'lib/onlyfans/models/engagement/messages/direct_message_chart_response.rb', line 197

optional :total, Float

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


264
# File 'sig/onlyfans/models/engagement/messages/direct_message_chart_response.rbs', line 264

def to_hash: -> {