Class: Onlyfans::Models::Posts::LabelListResponse::Data::List

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/posts/label_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, is_clear_in_progress: nil, name: nil, posts: nil, posts_count: nil, type: nil) ⇒ Object

Parameters:

  • id (String) (defaults to: nil)
  • is_clear_in_progress (Boolean) (defaults to: nil)
  • name (String) (defaults to: nil)
  • posts (Array<Object>) (defaults to: nil)
  • posts_count (Integer) (defaults to: nil)
  • type (String) (defaults to: nil)


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
# File 'lib/onlyfans/models/posts/label_list_response.rb', line 155

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

  # @!attribute is_clear_in_progress
  #
  #   @return [Boolean, nil]
  optional :is_clear_in_progress, Onlyfans::Internal::Type::Boolean, api_name: :isClearInProgress

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

  # @!attribute posts
  #
  #   @return [Array<Object>, nil]
  optional :posts, Onlyfans::Internal::Type::ArrayOf[Onlyfans::Internal::Type::Unknown]

  # @!attribute posts_count
  #
  #   @return [Integer, nil]
  optional :posts_count, Integer, api_name: :postsCount

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

  # @!method initialize(id: nil, is_clear_in_progress: nil, name: nil, posts: nil, posts_count: nil, type: nil)
  #   @param id [String]
  #   @param is_clear_in_progress [Boolean]
  #   @param name [String]
  #   @param posts [Array<Object>]
  #   @param posts_count [Integer]
  #   @param type [String]
end

Instance Attribute Details

#idString?

Returns:

  • (String, nil)


159
# File 'lib/onlyfans/models/posts/label_list_response.rb', line 159

optional :id, String

#is_clear_in_progressBoolean?

Returns:

  • (Boolean, nil)


164
# File 'lib/onlyfans/models/posts/label_list_response.rb', line 164

optional :is_clear_in_progress, Onlyfans::Internal::Type::Boolean, api_name: :isClearInProgress

#nameString?

Returns:

  • (String, nil)


169
# File 'lib/onlyfans/models/posts/label_list_response.rb', line 169

optional :name, String

#postsArray<Object>?

Returns:

  • (Array<Object>, nil)


174
# File 'lib/onlyfans/models/posts/label_list_response.rb', line 174

optional :posts, Onlyfans::Internal::Type::ArrayOf[Onlyfans::Internal::Type::Unknown]

#posts_countInteger?

Returns:

  • (Integer, nil)


179
# File 'lib/onlyfans/models/posts/label_list_response.rb', line 179

optional :posts_count, Integer, api_name: :postsCount

#typeString?

Returns:

  • (String, nil)


184
# File 'lib/onlyfans/models/posts/label_list_response.rb', line 184

optional :type, String