Class: Onlyfans::Models::FanGetSubscriptionHistoryResponse::Data::List
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/onlyfans/models/fan_get_subscription_history_response.rb,
sig/onlyfans/models/fan_get_subscription_history_response.rbs
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(expire_date: nil, price: nil, subscribe_date: nil) ⇒ Object
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
|
# File 'lib/onlyfans/models/fan_get_subscription_history_response.rb', line 136
class List < Onlyfans::Internal::Type::BaseModel
optional :expire_date, String, api_name: :expireDate
optional :price, Float
optional :subscribe_date, String, api_name: :subscribeDate
end
|
Instance Attribute Details
#expire_date ⇒ String?
140
|
# File 'lib/onlyfans/models/fan_get_subscription_history_response.rb', line 140
optional :expire_date, String, api_name: :expireDate
|
#price ⇒ Float?
145
|
# File 'lib/onlyfans/models/fan_get_subscription_history_response.rb', line 145
optional :price, Float
|
#subscribe_date ⇒ String?
150
|
# File 'lib/onlyfans/models/fan_get_subscription_history_response.rb', line 150
optional :subscribe_date, String, api_name: :subscribeDate
|
Instance Method Details
#to_hash ⇒ {
203
|
# File 'sig/onlyfans/models/fan_get_subscription_history_response.rbs', line 203
def to_hash: -> {
|