Class: Onlyfans::Models::SavedForLater::PostListResponse::Data::List::Entity

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/saved_for_later/post_list_response.rb

Overview

See Also:

Instance Attribute Summary collapse

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(id: nil, can_delete: nil, can_edit: nil, can_toggle_favorite: nil, can_view_media: nil, is_markdown_disabled: nil, is_media_ready: nil, is_opened: nil, is_published_with_period: nil, posted_at: nil, posted_at_precise: nil, raw_text: nil, response_type: nil, text: nil, tips_amount: nil) ⇒ Object

Parameters:

  • id (Integer) (defaults to: nil)
  • can_delete (Boolean) (defaults to: nil)
  • can_edit (Boolean) (defaults to: nil)
  • can_toggle_favorite (Boolean) (defaults to: nil)
  • can_view_media (Boolean) (defaults to: nil)
  • is_markdown_disabled (Boolean) (defaults to: nil)
  • is_media_ready (Boolean) (defaults to: nil)
  • is_opened (Boolean) (defaults to: nil)
  • is_published_with_period (Boolean) (defaults to: nil)
  • posted_at (String) (defaults to: nil)
  • posted_at_precise (String) (defaults to: nil)
  • raw_text (String) (defaults to: nil)
  • response_type (String) (defaults to: nil)
  • text (String) (defaults to: nil)
  • tips_amount (String) (defaults to: nil)


# File 'lib/onlyfans/models/saved_for_later/post_list_response.rb', line 249

Instance Attribute Details

#can_deleteBoolean?

Returns:

  • (Boolean, nil)


180
# File 'lib/onlyfans/models/saved_for_later/post_list_response.rb', line 180

optional :can_delete, Onlyfans::Internal::Type::Boolean, api_name: :canDelete

#can_editBoolean?

Returns:

  • (Boolean, nil)


185
# File 'lib/onlyfans/models/saved_for_later/post_list_response.rb', line 185

optional :can_edit, Onlyfans::Internal::Type::Boolean, api_name: :canEdit

#can_toggle_favoriteBoolean?

Returns:

  • (Boolean, nil)


190
# File 'lib/onlyfans/models/saved_for_later/post_list_response.rb', line 190

optional :can_toggle_favorite, Onlyfans::Internal::Type::Boolean, api_name: :canToggleFavorite

#can_view_mediaBoolean?

Returns:

  • (Boolean, nil)


195
# File 'lib/onlyfans/models/saved_for_later/post_list_response.rb', line 195

optional :can_view_media, Onlyfans::Internal::Type::Boolean, api_name: :canViewMedia

#idInteger?

Returns:

  • (Integer, nil)


175
# File 'lib/onlyfans/models/saved_for_later/post_list_response.rb', line 175

optional :id, Integer

#is_markdown_disabledBoolean?

Returns:

  • (Boolean, nil)


200
# File 'lib/onlyfans/models/saved_for_later/post_list_response.rb', line 200

optional :is_markdown_disabled, Onlyfans::Internal::Type::Boolean, api_name: :isMarkdownDisabled

#is_media_readyBoolean?

Returns:

  • (Boolean, nil)


205
# File 'lib/onlyfans/models/saved_for_later/post_list_response.rb', line 205

optional :is_media_ready, Onlyfans::Internal::Type::Boolean, api_name: :isMediaReady

#is_openedBoolean?

Returns:

  • (Boolean, nil)


210
# File 'lib/onlyfans/models/saved_for_later/post_list_response.rb', line 210

optional :is_opened, Onlyfans::Internal::Type::Boolean, api_name: :isOpened

#is_published_with_periodBoolean?

Returns:

  • (Boolean, nil)


215
216
217
# File 'lib/onlyfans/models/saved_for_later/post_list_response.rb', line 215

optional :is_published_with_period,
Onlyfans::Internal::Type::Boolean,
api_name: :isPublishedWithPeriod

#posted_atString?

Returns:

  • (String, nil)


222
# File 'lib/onlyfans/models/saved_for_later/post_list_response.rb', line 222

optional :posted_at, String, api_name: :postedAt

#posted_at_preciseString?

Returns:

  • (String, nil)


227
# File 'lib/onlyfans/models/saved_for_later/post_list_response.rb', line 227

optional :posted_at_precise, String, api_name: :postedAtPrecise

#raw_textString?

Returns:

  • (String, nil)


232
# File 'lib/onlyfans/models/saved_for_later/post_list_response.rb', line 232

optional :raw_text, String, api_name: :rawText

#response_typeString?

Returns:

  • (String, nil)


237
# File 'lib/onlyfans/models/saved_for_later/post_list_response.rb', line 237

optional :response_type, String, api_name: :responseType

#textString?

Returns:

  • (String, nil)


242
# File 'lib/onlyfans/models/saved_for_later/post_list_response.rb', line 242

optional :text, String

#tips_amountString?

Returns:

  • (String, nil)


247
# File 'lib/onlyfans/models/saved_for_later/post_list_response.rb', line 247

optional :tips_amount, String, api_name: :tipsAmount