Class: Onlyfans::Models::ChatListResponse::Data::Fan::SubscribedOnData::Subscribe
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Onlyfans::Models::ChatListResponse::Data::Fan::SubscribedOnData::Subscribe
- Defined in:
- lib/onlyfans/models/chat_list_response.rb
Instance Attribute Summary collapse
- #action ⇒ String?
- #cancel_date ⇒ String?
- #date ⇒ String?
- #discount ⇒ Integer?
- #duration ⇒ Integer?
- #earning_id ⇒ Integer?
- #expire_date ⇒ String?
- #id ⇒ Integer?
- #is_current ⇒ Boolean?
- #offer_end ⇒ String?
- #offer_start ⇒ String?
- #price ⇒ Integer?
- #regular_price ⇒ Integer?
- #start_date ⇒ String?
- #subscriber_id ⇒ Integer?
- #type ⇒ String?
- #user_id ⇒ Integer?
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(discount_finished_at: nil, discount_percent: nil, discount_period: nil, discount_started_at: nil, duration: nil, expired_at: nil, has_active_paid_subscriptions: nil, is_muted: nil, messages_summ: nil, new_price: nil, posts_summ: nil, price: nil, regular_price: nil, renewed_at: nil, status: nil, streams_summ: nil, subscribe_at: nil, subscribe_price: nil, subscribes: nil, subscribes_summ: nil, tips_summ: nil, total_summ: nil, unsubscribe_reason: nil) ⇒ Object
1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 1217 class Subscribe < Onlyfans::Internal::Type::BaseModel # @!attribute id # # @return [Integer, nil] optional :id, Integer # @!attribute action # # @return [String, nil] optional :action, String # @!attribute cancel_date # # @return [String, nil] optional :cancel_date, String, api_name: :cancelDate, nil?: true # @!attribute date # # @return [String, nil] optional :date, String # @!attribute discount # # @return [Integer, nil] optional :discount, Integer # @!attribute duration # # @return [Integer, nil] optional :duration, Integer # @!attribute earning_id # # @return [Integer, nil] optional :earning_id, Integer, api_name: :earningId # @!attribute expire_date # # @return [String, nil] optional :expire_date, String, api_name: :expireDate # @!attribute is_current # # @return [Boolean, nil] optional :is_current, Onlyfans::Internal::Type::Boolean, api_name: :isCurrent # @!attribute offer_end # # @return [String, nil] optional :offer_end, String, api_name: :offerEnd, nil?: true # @!attribute offer_start # # @return [String, nil] optional :offer_start, String, api_name: :offerStart, nil?: true # @!attribute price # # @return [Integer, nil] optional :price, Integer # @!attribute regular_price # # @return [Integer, nil] optional :regular_price, Integer, api_name: :regularPrice # @!attribute start_date # # @return [String, nil] optional :start_date, String, api_name: :startDate # @!attribute subscriber_id # # @return [Integer, nil] optional :subscriber_id, Integer, api_name: :subscriberId # @!attribute type # # @return [String, nil] optional :type, String # @!attribute user_id # # @return [Integer, nil] optional :user_id, Integer, api_name: :userId # @!method initialize(id: nil, action: nil, cancel_date: nil, date: nil, discount: nil, duration: nil, earning_id: nil, expire_date: nil, is_current: nil, offer_end: nil, offer_start: nil, price: nil, regular_price: nil, start_date: nil, subscriber_id: nil, type: nil, user_id: nil) # @param id [Integer] # @param action [String] # @param cancel_date [String, nil] # @param date [String] # @param discount [Integer] # @param duration [Integer] # @param earning_id [Integer] # @param expire_date [String] # @param is_current [Boolean] # @param offer_end [String, nil] # @param offer_start [String, nil] # @param price [Integer] # @param regular_price [Integer] # @param start_date [String] # @param subscriber_id [Integer] # @param type [String] # @param user_id [Integer] end |
Instance Attribute Details
#action ⇒ String?
1226 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 1226 optional :action, String |
#cancel_date ⇒ String?
1231 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 1231 optional :cancel_date, String, api_name: :cancelDate, nil?: true |
#date ⇒ String?
1236 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 1236 optional :date, String |
#discount ⇒ Integer?
1241 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 1241 optional :discount, Integer |
#duration ⇒ Integer?
1246 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 1246 optional :duration, Integer |
#earning_id ⇒ Integer?
1251 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 1251 optional :earning_id, Integer, api_name: :earningId |
#expire_date ⇒ String?
1256 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 1256 optional :expire_date, String, api_name: :expireDate |
#id ⇒ Integer?
1221 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 1221 optional :id, Integer |
#is_current ⇒ Boolean?
1261 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 1261 optional :is_current, Onlyfans::Internal::Type::Boolean, api_name: :isCurrent |
#offer_end ⇒ String?
1266 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 1266 optional :offer_end, String, api_name: :offerEnd, nil?: true |
#offer_start ⇒ String?
1271 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 1271 optional :offer_start, String, api_name: :offerStart, nil?: true |
#price ⇒ Integer?
1276 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 1276 optional :price, Integer |
#regular_price ⇒ Integer?
1281 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 1281 optional :regular_price, Integer, api_name: :regularPrice |
#start_date ⇒ String?
1286 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 1286 optional :start_date, String, api_name: :startDate |
#subscriber_id ⇒ Integer?
1291 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 1291 optional :subscriber_id, Integer, api_name: :subscriberId |
#type ⇒ String?
1296 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 1296 optional :type, String |
#user_id ⇒ Integer?
1301 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 1301 optional :user_id, Integer, api_name: :userId |