Class: Onlyfans::Models::PromotionListResponse::Data::Item
Instance Attribute Summary collapse
Instance Method Summary
collapse
-
#initialize(id: nil, can_claim: nil, claims_count: nil, created_at: nil, finished_at: nil, has_related_promo: nil, is_finished: nil, message: nil, price: nil, raw_message: nil, subscribe_counts: nil, subscribe_days: nil, type: nil) ⇒ Object
constructor
==, #==, #[], 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(id: nil, can_claim: nil, claims_count: nil, created_at: nil, finished_at: nil, has_related_promo: nil, is_finished: nil, message: nil, price: nil, raw_message: nil, subscribe_counts: nil, subscribe_days: nil, type: nil) ⇒ Object
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
|
# File 'lib/onlyfans/models/promotion_list_response.rb', line 136
class Item < Onlyfans::Internal::Type::BaseModel
optional :id, Integer
optional :can_claim, Onlyfans::Internal::Type::Boolean, api_name: :canClaim
optional :claims_count, Integer, api_name: :claimsCount
optional :created_at, String, api_name: :createdAt
optional :finished_at, String, api_name: :finishedAt
optional :has_related_promo, Onlyfans::Internal::Type::Boolean, api_name: :hasRelatedPromo
optional :is_finished, Onlyfans::Internal::Type::Boolean, api_name: :isFinished
optional :message, String
optional :price, Integer
optional :raw_message, String, api_name: :rawMessage
optional :subscribe_counts, Integer, api_name: :subscribeCounts
optional :subscribe_days, Integer, api_name: :subscribeDays
optional :type, String
end
|
Instance Attribute Details
#can_claim ⇒ Boolean?
145
|
# File 'lib/onlyfans/models/promotion_list_response.rb', line 145
optional :can_claim, Onlyfans::Internal::Type::Boolean, api_name: :canClaim
|
#claims_count ⇒ Integer?
150
|
# File 'lib/onlyfans/models/promotion_list_response.rb', line 150
optional :claims_count, Integer, api_name: :claimsCount
|
#created_at ⇒ String?
155
|
# File 'lib/onlyfans/models/promotion_list_response.rb', line 155
optional :created_at, String, api_name: :createdAt
|
#finished_at ⇒ String?
160
|
# File 'lib/onlyfans/models/promotion_list_response.rb', line 160
optional :finished_at, String, api_name: :finishedAt
|
165
|
# File 'lib/onlyfans/models/promotion_list_response.rb', line 165
optional :has_related_promo, Onlyfans::Internal::Type::Boolean, api_name: :hasRelatedPromo
|
#id ⇒ Integer?
140
|
# File 'lib/onlyfans/models/promotion_list_response.rb', line 140
optional :id, Integer
|
#is_finished ⇒ Boolean?
170
|
# File 'lib/onlyfans/models/promotion_list_response.rb', line 170
optional :is_finished, Onlyfans::Internal::Type::Boolean, api_name: :isFinished
|
#message ⇒ String?
175
|
# File 'lib/onlyfans/models/promotion_list_response.rb', line 175
optional :message, String
|
#price ⇒ Integer?
180
|
# File 'lib/onlyfans/models/promotion_list_response.rb', line 180
optional :price, Integer
|
#raw_message ⇒ String?
185
|
# File 'lib/onlyfans/models/promotion_list_response.rb', line 185
optional :raw_message, String, api_name: :rawMessage
|
#subscribe_counts ⇒ Integer?
190
|
# File 'lib/onlyfans/models/promotion_list_response.rb', line 190
optional :subscribe_counts, Integer, api_name: :subscribeCounts
|
#subscribe_days ⇒ Integer?
195
|
# File 'lib/onlyfans/models/promotion_list_response.rb', line 195
optional :subscribe_days, Integer, api_name: :subscribeDays
|
#type ⇒ String?
200
|
# File 'lib/onlyfans/models/promotion_list_response.rb', line 200
optional :type, String
|