Class: Onlyfans::Models::ChatListMediaResponse::Data::List
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Onlyfans::Models::ChatListMediaResponse::Data::List
- Defined in:
- lib/onlyfans/models/chat_list_media_response.rb
Defined Under Namespace
Instance Attribute Summary collapse
- #can_be_pinned ⇒ Boolean?
- #can_purchase ⇒ Boolean?
- #can_purchase_reason ⇒ String?
- #can_report ⇒ Boolean?
- #cancel_seconds ⇒ Integer?
- #changed_at ⇒ String?
- #created_at ⇒ String?
- #from_user ⇒ Onlyfans::Models::ChatListMediaResponse::Data::List::FromUser?
- #giphy_id ⇒ String?
- #id ⇒ Integer?
- #is_couple_people_media ⇒ Boolean?
- #is_free ⇒ Boolean?
- #is_from_queue ⇒ Boolean?
- #is_liked ⇒ Boolean?
- #is_markdown_disabled ⇒ Boolean?
- #is_media_ready ⇒ Boolean?
- #is_new ⇒ Boolean?
- #is_opened ⇒ Boolean?
- #is_pinned ⇒ Boolean?
- #is_reported_by_me ⇒ Boolean?
- #is_tip ⇒ Boolean?
- #locked_text ⇒ Boolean?
- #media ⇒ Array<Onlyfans::Models::ChatListMediaResponse::Data::List::Media>?
- #media_count ⇒ Integer?
- #previews ⇒ Array<Object>?
- #price ⇒ Integer?
- #queue_id ⇒ Integer?
- #release_forms ⇒ Array<Object>?
- #response_type ⇒ String?
- #text ⇒ String?
Instance Method Summary collapse
- #initialize(id: nil, _view: nil) ⇒ Object constructor
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(id: nil, _view: 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 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 |
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 136 class List < Onlyfans::Internal::Type::BaseModel # @!attribute id # # @return [Integer, nil] optional :id, Integer # @!attribute can_be_pinned # # @return [Boolean, nil] optional :can_be_pinned, Onlyfans::Internal::Type::Boolean, api_name: :canBePinned # @!attribute cancel_seconds # # @return [Integer, nil] optional :cancel_seconds, Integer, api_name: :cancelSeconds # @!attribute can_purchase # # @return [Boolean, nil] optional :can_purchase, Onlyfans::Internal::Type::Boolean, api_name: :canPurchase # @!attribute can_purchase_reason # # @return [String, nil] optional :can_purchase_reason, String, api_name: :canPurchaseReason # @!attribute can_report # # @return [Boolean, nil] optional :can_report, Onlyfans::Internal::Type::Boolean, api_name: :canReport # @!attribute changed_at # # @return [String, nil] optional :changed_at, String, api_name: :changedAt # @!attribute created_at # # @return [String, nil] optional :created_at, String, api_name: :createdAt # @!attribute from_user # # @return [Onlyfans::Models::ChatListMediaResponse::Data::List::FromUser, nil] optional :from_user, -> { Onlyfans::Models::ChatListMediaResponse::Data::List::FromUser }, api_name: :fromUser # @!attribute giphy_id # # @return [String, nil] optional :giphy_id, String, api_name: :giphyId, nil?: true # @!attribute is_couple_people_media # # @return [Boolean, nil] optional :is_couple_people_media, Onlyfans::Internal::Type::Boolean, api_name: :isCouplePeopleMedia # @!attribute is_free # # @return [Boolean, nil] optional :is_free, Onlyfans::Internal::Type::Boolean, api_name: :isFree # @!attribute is_from_queue # # @return [Boolean, nil] optional :is_from_queue, Onlyfans::Internal::Type::Boolean, api_name: :isFromQueue # @!attribute is_liked # # @return [Boolean, nil] optional :is_liked, Onlyfans::Internal::Type::Boolean, api_name: :isLiked # @!attribute is_markdown_disabled # # @return [Boolean, nil] optional :is_markdown_disabled, Onlyfans::Internal::Type::Boolean, api_name: :isMarkdownDisabled # @!attribute is_media_ready # # @return [Boolean, nil] optional :is_media_ready, Onlyfans::Internal::Type::Boolean, api_name: :isMediaReady # @!attribute is_new # # @return [Boolean, nil] optional :is_new, Onlyfans::Internal::Type::Boolean, api_name: :isNew # @!attribute is_opened # # @return [Boolean, nil] optional :is_opened, Onlyfans::Internal::Type::Boolean, api_name: :isOpened # @!attribute is_pinned # # @return [Boolean, nil] optional :is_pinned, Onlyfans::Internal::Type::Boolean, api_name: :isPinned # @!attribute is_reported_by_me # # @return [Boolean, nil] optional :is_reported_by_me, Onlyfans::Internal::Type::Boolean, api_name: :isReportedByMe # @!attribute is_tip # # @return [Boolean, nil] optional :is_tip, Onlyfans::Internal::Type::Boolean, api_name: :isTip # @!attribute locked_text # # @return [Boolean, nil] optional :locked_text, Onlyfans::Internal::Type::Boolean, api_name: :lockedText # @!attribute media # # @return [Array<Onlyfans::Models::ChatListMediaResponse::Data::List::Media>, nil] optional :media, -> { Onlyfans::Internal::Type::ArrayOf[Onlyfans::Models::ChatListMediaResponse::Data::List::Media] } # @!attribute media_count # # @return [Integer, nil] optional :media_count, Integer, api_name: :mediaCount # @!attribute previews # # @return [Array<Object>, nil] optional :previews, Onlyfans::Internal::Type::ArrayOf[Onlyfans::Internal::Type::Unknown] # @!attribute price # # @return [Integer, nil] optional :price, Integer # @!attribute queue_id # # @return [Integer, nil] optional :queue_id, Integer, api_name: :queueId # @!attribute release_forms # # @return [Array<Object>, nil] optional :release_forms, Onlyfans::Internal::Type::ArrayOf[Onlyfans::Internal::Type::Unknown], api_name: :releaseForms # @!attribute response_type # # @return [String, nil] optional :response_type, String, api_name: :responseType # @!attribute text # # @return [String, nil] optional :text, String # @!method initialize(id: nil, can_be_pinned: nil, cancel_seconds: nil, can_purchase: nil, can_purchase_reason: nil, can_report: nil, changed_at: nil, created_at: nil, from_user: nil, giphy_id: nil, is_couple_people_media: nil, is_free: nil, is_from_queue: nil, is_liked: nil, is_markdown_disabled: nil, is_media_ready: nil, is_new: nil, is_opened: nil, is_pinned: nil, is_reported_by_me: nil, is_tip: nil, locked_text: nil, media: nil, media_count: nil, previews: nil, price: nil, queue_id: nil, release_forms: nil, response_type: nil, text: nil) # @param id [Integer] # @param can_be_pinned [Boolean] # @param cancel_seconds [Integer] # @param can_purchase [Boolean] # @param can_purchase_reason [String] # @param can_report [Boolean] # @param changed_at [String] # @param created_at [String] # @param from_user [Onlyfans::Models::ChatListMediaResponse::Data::List::FromUser] # @param giphy_id [String, nil] # @param is_couple_people_media [Boolean] # @param is_free [Boolean] # @param is_from_queue [Boolean] # @param is_liked [Boolean] # @param is_markdown_disabled [Boolean] # @param is_media_ready [Boolean] # @param is_new [Boolean] # @param is_opened [Boolean] # @param is_pinned [Boolean] # @param is_reported_by_me [Boolean] # @param is_tip [Boolean] # @param locked_text [Boolean] # @param media [Array<Onlyfans::Models::ChatListMediaResponse::Data::List::Media>] # @param media_count [Integer] # @param previews [Array<Object>] # @param price [Integer] # @param queue_id [Integer] # @param release_forms [Array<Object>] # @param response_type [String] # @param text [String] # @see Onlyfans::Models::ChatListMediaResponse::Data::List#from_user class FromUser < Onlyfans::Internal::Type::BaseModel # @!attribute id # # @return [Integer, nil] optional :id, Integer # @!attribute _view # # @return [String, nil] optional :_view, String # @!method initialize(id: nil, _view: nil) # @param id [Integer] # @param _view [String] end class Media < Onlyfans::Internal::Type::BaseModel # @!attribute id # # @return [Integer, nil] optional :id, Integer # @!attribute can_view # # @return [Boolean, nil] optional :can_view, Onlyfans::Internal::Type::Boolean, api_name: :canView # @!attribute converted_to_video # # @return [Boolean, nil] optional :converted_to_video, Onlyfans::Internal::Type::Boolean, api_name: :convertedToVideo # @!attribute created_at # # @return [String, nil] optional :created_at, String, api_name: :createdAt # @!attribute duration # # @return [Integer, nil] optional :duration, Integer # @!attribute files # # @return [Onlyfans::Models::ChatListMediaResponse::Data::List::Media::Files, nil] optional :files, -> { Onlyfans::Models::ChatListMediaResponse::Data::List::Media::Files } # @!attribute has_custom_preview # # @return [Boolean, nil] optional :has_custom_preview, Onlyfans::Internal::Type::Boolean, api_name: :hasCustomPreview # @!attribute has_error # # @return [Boolean, nil] optional :has_error, Onlyfans::Internal::Type::Boolean, api_name: :hasError # @!attribute is_ready # # @return [Boolean, nil] optional :is_ready, Onlyfans::Internal::Type::Boolean, api_name: :isReady # @!attribute type # # @return [String, nil] optional :type, String # @!attribute video_sources # # @return [Onlyfans::Models::ChatListMediaResponse::Data::List::Media::VideoSources, nil] optional :video_sources, -> { Onlyfans::Models::ChatListMediaResponse::Data::List::Media::VideoSources }, api_name: :videoSources # @!method initialize(id: nil, can_view: nil, converted_to_video: nil, created_at: nil, duration: nil, files: nil, has_custom_preview: nil, has_error: nil, is_ready: nil, type: nil, video_sources: nil) # @param id [Integer] # @param can_view [Boolean] # @param converted_to_video [Boolean] # @param created_at [String] # @param duration [Integer] # @param files [Onlyfans::Models::ChatListMediaResponse::Data::List::Media::Files] # @param has_custom_preview [Boolean] # @param has_error [Boolean] # @param is_ready [Boolean] # @param type [String] # @param video_sources [Onlyfans::Models::ChatListMediaResponse::Data::List::Media::VideoSources] # @see Onlyfans::Models::ChatListMediaResponse::Data::List::Media#files class Files < Onlyfans::Internal::Type::BaseModel # @!attribute full # # @return [Onlyfans::Models::ChatListMediaResponse::Data::List::Media::Files::Full, nil] optional :full, -> { Onlyfans::Models::ChatListMediaResponse::Data::List::Media::Files::Full } # @!attribute preview # # @return [Onlyfans::Models::ChatListMediaResponse::Data::List::Media::Files::Preview, nil] optional :preview, -> { Onlyfans::Models::ChatListMediaResponse::Data::List::Media::Files::Preview } # @!attribute square_preview # # @return [Onlyfans::Models::ChatListMediaResponse::Data::List::Media::Files::SquarePreview, nil] optional :square_preview, -> { Onlyfans::Models::ChatListMediaResponse::Data::List::Media::Files::SquarePreview }, api_name: :squarePreview # @!attribute thumb # # @return [Onlyfans::Models::ChatListMediaResponse::Data::List::Media::Files::Thumb, nil] optional :thumb, -> { Onlyfans::Models::ChatListMediaResponse::Data::List::Media::Files::Thumb } # @!method initialize(full: nil, preview: nil, square_preview: nil, thumb: nil) # @param full [Onlyfans::Models::ChatListMediaResponse::Data::List::Media::Files::Full] # @param preview [Onlyfans::Models::ChatListMediaResponse::Data::List::Media::Files::Preview] # @param square_preview [Onlyfans::Models::ChatListMediaResponse::Data::List::Media::Files::SquarePreview] # @param thumb [Onlyfans::Models::ChatListMediaResponse::Data::List::Media::Files::Thumb] # @see Onlyfans::Models::ChatListMediaResponse::Data::List::Media::Files#full class Full < Onlyfans::Internal::Type::BaseModel # @!attribute height # # @return [Integer, nil] optional :height, Integer # @!attribute size # # @return [Integer, nil] optional :size, Integer # @!attribute sources # # @return [Array<Object>, nil] optional :sources, Onlyfans::Internal::Type::ArrayOf[Onlyfans::Internal::Type::Unknown] # @!attribute url # # @return [String, nil] optional :url, String # @!attribute width # # @return [Integer, nil] optional :width, Integer # @!method initialize(height: nil, size: nil, sources: nil, url: nil, width: nil) # @param height [Integer] # @param size [Integer] # @param sources [Array<Object>] # @param url [String] # @param width [Integer] end # @see Onlyfans::Models::ChatListMediaResponse::Data::List::Media::Files#preview class Preview < Onlyfans::Internal::Type::BaseModel # @!attribute height # # @return [Integer, nil] optional :height, Integer # @!attribute size # # @return [Integer, nil] optional :size, Integer # @!attribute url # # @return [String, nil] optional :url, String # @!attribute width # # @return [Integer, nil] optional :width, Integer # @!method initialize(height: nil, size: nil, url: nil, width: nil) # @param height [Integer] # @param size [Integer] # @param url [String] # @param width [Integer] end # @see Onlyfans::Models::ChatListMediaResponse::Data::List::Media::Files#square_preview class SquarePreview < Onlyfans::Internal::Type::BaseModel # @!attribute height # # @return [Integer, nil] optional :height, Integer # @!attribute size # # @return [Integer, nil] optional :size, Integer # @!attribute url # # @return [String, nil] optional :url, String # @!attribute width # # @return [Integer, nil] optional :width, Integer # @!method initialize(height: nil, size: nil, url: nil, width: nil) # @param height [Integer] # @param size [Integer] # @param url [String] # @param width [Integer] end # @see Onlyfans::Models::ChatListMediaResponse::Data::List::Media::Files#thumb class Thumb < Onlyfans::Internal::Type::BaseModel # @!attribute height # # @return [Integer, nil] optional :height, Integer # @!attribute size # # @return [Integer, nil] optional :size, Integer # @!attribute url # # @return [String, nil] optional :url, String # @!attribute width # # @return [Integer, nil] optional :width, Integer # @!method initialize(height: nil, size: nil, url: nil, width: nil) # @param height [Integer] # @param size [Integer] # @param url [String] # @param width [Integer] end end # @see Onlyfans::Models::ChatListMediaResponse::Data::List::Media#video_sources class VideoSources < Onlyfans::Internal::Type::BaseModel # @!attribute number_240 # # @return [String, nil] optional :number_240, String, api_name: :"240", nil?: true # @!attribute number_720 # # @return [String, nil] optional :number_720, String, api_name: :"720", nil?: true # @!method initialize(number_240: nil, number_720: nil) # @param number_240 [String, nil] # @param number_720 [String, nil] end end end |
Instance Attribute Details
#can_be_pinned ⇒ Boolean?
145 |
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 145 optional :can_be_pinned, Onlyfans::Internal::Type::Boolean, api_name: :canBePinned |
#can_purchase ⇒ Boolean?
155 |
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 155 optional :can_purchase, Onlyfans::Internal::Type::Boolean, api_name: :canPurchase |
#can_purchase_reason ⇒ String?
160 |
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 160 optional :can_purchase_reason, String, api_name: :canPurchaseReason |
#can_report ⇒ Boolean?
165 |
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 165 optional :can_report, Onlyfans::Internal::Type::Boolean, api_name: :canReport |
#cancel_seconds ⇒ Integer?
150 |
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 150 optional :cancel_seconds, Integer, api_name: :cancelSeconds |
#changed_at ⇒ String?
170 |
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 170 optional :changed_at, String, api_name: :changedAt |
#created_at ⇒ String?
175 |
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 175 optional :created_at, String, api_name: :createdAt |
#from_user ⇒ Onlyfans::Models::ChatListMediaResponse::Data::List::FromUser?
180 181 182 |
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 180 optional :from_user, -> { Onlyfans::Models::ChatListMediaResponse::Data::List::FromUser }, api_name: :fromUser |
#giphy_id ⇒ String?
187 |
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 187 optional :giphy_id, String, api_name: :giphyId, nil?: true |
#id ⇒ Integer?
140 |
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 140 optional :id, Integer |
#is_couple_people_media ⇒ Boolean?
192 |
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 192 optional :is_couple_people_media, Onlyfans::Internal::Type::Boolean, api_name: :isCouplePeopleMedia |
#is_free ⇒ Boolean?
197 |
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 197 optional :is_free, Onlyfans::Internal::Type::Boolean, api_name: :isFree |
#is_from_queue ⇒ Boolean?
202 |
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 202 optional :is_from_queue, Onlyfans::Internal::Type::Boolean, api_name: :isFromQueue |
#is_liked ⇒ Boolean?
207 |
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 207 optional :is_liked, Onlyfans::Internal::Type::Boolean, api_name: :isLiked |
#is_markdown_disabled ⇒ Boolean?
212 |
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 212 optional :is_markdown_disabled, Onlyfans::Internal::Type::Boolean, api_name: :isMarkdownDisabled |
#is_media_ready ⇒ Boolean?
217 |
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 217 optional :is_media_ready, Onlyfans::Internal::Type::Boolean, api_name: :isMediaReady |
#is_new ⇒ Boolean?
222 |
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 222 optional :is_new, Onlyfans::Internal::Type::Boolean, api_name: :isNew |
#is_opened ⇒ Boolean?
227 |
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 227 optional :is_opened, Onlyfans::Internal::Type::Boolean, api_name: :isOpened |
#is_pinned ⇒ Boolean?
232 |
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 232 optional :is_pinned, Onlyfans::Internal::Type::Boolean, api_name: :isPinned |
#is_reported_by_me ⇒ Boolean?
237 |
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 237 optional :is_reported_by_me, Onlyfans::Internal::Type::Boolean, api_name: :isReportedByMe |
#is_tip ⇒ Boolean?
242 |
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 242 optional :is_tip, Onlyfans::Internal::Type::Boolean, api_name: :isTip |
#locked_text ⇒ Boolean?
247 |
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 247 optional :locked_text, Onlyfans::Internal::Type::Boolean, api_name: :lockedText |
#media ⇒ Array<Onlyfans::Models::ChatListMediaResponse::Data::List::Media>?
252 253 |
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 252 optional :media, -> { Onlyfans::Internal::Type::ArrayOf[Onlyfans::Models::ChatListMediaResponse::Data::List::Media] } |
#media_count ⇒ Integer?
258 |
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 258 optional :media_count, Integer, api_name: :mediaCount |
#previews ⇒ Array<Object>?
263 |
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 263 optional :previews, Onlyfans::Internal::Type::ArrayOf[Onlyfans::Internal::Type::Unknown] |
#price ⇒ Integer?
268 |
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 268 optional :price, Integer |
#queue_id ⇒ Integer?
273 |
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 273 optional :queue_id, Integer, api_name: :queueId |
#release_forms ⇒ Array<Object>?
278 279 280 |
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 278 optional :release_forms, Onlyfans::Internal::Type::ArrayOf[Onlyfans::Internal::Type::Unknown], api_name: :releaseForms |
#response_type ⇒ String?
285 |
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 285 optional :response_type, String, api_name: :responseType |
#text ⇒ String?
290 |
# File 'lib/onlyfans/models/chat_list_media_response.rb', line 290 optional :text, String |