Class: Onlyfans::Models::Engagement::Messages::MassMessageChartResponse::Data::GroupMessagesPurchases::Chart

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/onlyfans/models/engagement/messages/mass_message_chart_response.rb

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(count: nil, date: nil) ⇒ Object

Parameters:

  • count (Float) (defaults to: nil)
  • date (String) (defaults to: nil)


203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
# File 'lib/onlyfans/models/engagement/messages/mass_message_chart_response.rb', line 203

class Chart < Onlyfans::Internal::Type::BaseModel
  # @!attribute count
  #
  #   @return [Float, nil]
  optional :count, Float

  # @!attribute date
  #
  #   @return [String, nil]
  optional :date, String

  # @!method initialize(count: nil, date: nil)
  #   @param count [Float]
  #   @param date [String]
end

Instance Attribute Details

#countFloat?

Returns:

  • (Float, nil)


207
# File 'lib/onlyfans/models/engagement/messages/mass_message_chart_response.rb', line 207

optional :count, Float

#dateString?

Returns:

  • (String, nil)


212
# File 'lib/onlyfans/models/engagement/messages/mass_message_chart_response.rb', line 212

optional :date, String