Class: Onlyfans::Models::SmartLinkListConversionsResponse::Data::Chart
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Onlyfans::Models::SmartLinkListConversionsResponse::Data::Chart
- Defined in:
- lib/onlyfans/models/smart_link_list_conversions_response.rb,
sig/onlyfans/models/smart_link_list_conversions_response.rbs
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(chart: nil, filters: nil, rows: nil, summary: nil) ⇒ Chart
constructor
A new instance of Chart.
- #to_hash ⇒ { conversions: Integer, timestamp: 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(chart: nil, filters: nil, rows: nil, summary: nil) ⇒ Chart
Returns a new instance of Chart.
108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 |
# File 'lib/onlyfans/models/smart_link_list_conversions_response.rb', line 108 class Chart < Onlyfans::Internal::Type::BaseModel # @!attribute conversions # # @return [Integer, nil] optional :conversions, Integer # @!attribute timestamp # # @return [String, nil] optional :timestamp, String # @!method initialize(conversions: nil, timestamp: nil) # @param conversions [Integer] # @param timestamp [String] end |
Instance Attribute Details
#conversions ⇒ Integer?
112 |
# File 'lib/onlyfans/models/smart_link_list_conversions_response.rb', line 112 optional :conversions, Integer |
#timestamp ⇒ String?
117 |
# File 'lib/onlyfans/models/smart_link_list_conversions_response.rb', line 117 optional :timestamp, String |
Instance Method Details
#to_hash ⇒ { conversions: Integer, timestamp: String }
162 |
# File 'sig/onlyfans/models/smart_link_list_conversions_response.rbs', line 162
def to_hash: -> { conversions: Integer, timestamp: String }
|