Class: Onlyfans::Models::Stories::HighlightUpdateResponse::Data

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/stories/highlight_update_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, cover: nil, cover_story_id: nil, created_at: nil, stories_count: nil, title: nil, user_id: nil) ⇒ Object

Parameters:

  • id (Integer) (defaults to: nil)
  • cover (String) (defaults to: nil)
  • cover_story_id (Integer) (defaults to: nil)
  • created_at (String) (defaults to: nil)
  • stories_count (Integer) (defaults to: nil)
  • title (String) (defaults to: nil)
  • user_id (Integer) (defaults to: nil)


# File 'lib/onlyfans/models/stories/highlight_update_response.rb', line 157

Instance Attribute Details

#coverString?

Returns:

  • (String, nil)


130
# File 'lib/onlyfans/models/stories/highlight_update_response.rb', line 130

optional :cover, String

#cover_story_idInteger?

Returns:

  • (Integer, nil)


135
# File 'lib/onlyfans/models/stories/highlight_update_response.rb', line 135

optional :cover_story_id, Integer, api_name: :coverStoryId

#created_atString?

Returns:

  • (String, nil)


140
# File 'lib/onlyfans/models/stories/highlight_update_response.rb', line 140

optional :created_at, String, api_name: :createdAt

#idInteger?

Returns:

  • (Integer, nil)


125
# File 'lib/onlyfans/models/stories/highlight_update_response.rb', line 125

optional :id, Integer

#stories_countInteger?

Returns:

  • (Integer, nil)


145
# File 'lib/onlyfans/models/stories/highlight_update_response.rb', line 145

optional :stories_count, Integer, api_name: :storiesCount

#titleString?

Returns:

  • (String, nil)


150
# File 'lib/onlyfans/models/stories/highlight_update_response.rb', line 150

optional :title, String

#user_idInteger?

Returns:

  • (Integer, nil)


155
# File 'lib/onlyfans/models/stories/highlight_update_response.rb', line 155

optional :user_id, Integer, api_name: :userId