Class: Onlyfans::Models::Stories::HighlightListResponse::Data::List

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/stories/highlight_list_response.rb

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)


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
# File 'lib/onlyfans/models/stories/highlight_list_response.rb', line 137

class List < Onlyfans::Internal::Type::BaseModel
  # @!attribute id
  #
  #   @return [Integer, nil]
  optional :id, Integer

  # @!attribute cover
  #
  #   @return [String, nil]
  optional :cover, String

  # @!attribute cover_story_id
  #
  #   @return [Integer, nil]
  optional :cover_story_id, Integer, api_name: :coverStoryId

  # @!attribute created_at
  #
  #   @return [String, nil]
  optional :created_at, String, api_name: :createdAt

  # @!attribute stories_count
  #
  #   @return [Integer, nil]
  optional :stories_count, Integer, api_name: :storiesCount

  # @!attribute title
  #
  #   @return [String, nil]
  optional :title, String

  # @!attribute user_id
  #
  #   @return [Integer, nil]
  optional :user_id, Integer, api_name: :userId

  # @!method initialize(id: nil, cover: nil, cover_story_id: nil, created_at: nil, stories_count: nil, title: nil, user_id: nil)
  #   @param id [Integer]
  #   @param cover [String]
  #   @param cover_story_id [Integer]
  #   @param created_at [String]
  #   @param stories_count [Integer]
  #   @param title [String]
  #   @param user_id [Integer]
end

Instance Attribute Details

#coverString?

Returns:

  • (String, nil)


146
# File 'lib/onlyfans/models/stories/highlight_list_response.rb', line 146

optional :cover, String

#cover_story_idInteger?

Returns:

  • (Integer, nil)


151
# File 'lib/onlyfans/models/stories/highlight_list_response.rb', line 151

optional :cover_story_id, Integer, api_name: :coverStoryId

#created_atString?

Returns:

  • (String, nil)


156
# File 'lib/onlyfans/models/stories/highlight_list_response.rb', line 156

optional :created_at, String, api_name: :createdAt

#idInteger?

Returns:

  • (Integer, nil)


141
# File 'lib/onlyfans/models/stories/highlight_list_response.rb', line 141

optional :id, Integer

#stories_countInteger?

Returns:

  • (Integer, nil)


161
# File 'lib/onlyfans/models/stories/highlight_list_response.rb', line 161

optional :stories_count, Integer, api_name: :storiesCount

#titleString?

Returns:

  • (String, nil)


166
# File 'lib/onlyfans/models/stories/highlight_list_response.rb', line 166

optional :title, String

#user_idInteger?

Returns:

  • (Integer, nil)


171
# File 'lib/onlyfans/models/stories/highlight_list_response.rb', line 171

optional :user_id, Integer, api_name: :userId