Class: Onlyfans::Models::UserLists::UserRemoveResponse::Data::List::User

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/user_lists/user_remove_response.rb

Defined Under Namespace

Classes: AvatarThumbs

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, avatar: nil, avatar_thumbs: nil, is_verified: nil, name: nil, username: nil, view: nil) ⇒ Object

Parameters:



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
# File 'lib/onlyfans/models/user_lists/user_remove_response.rb', line 241

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

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

  # @!attribute avatar_thumbs
  #
  #   @return [Onlyfans::Models::UserLists::UserRemoveResponse::Data::List::User::AvatarThumbs, nil]
  optional :avatar_thumbs,
           -> { Onlyfans::Models::UserLists::UserRemoveResponse::Data::List::User::AvatarThumbs },
           api_name: :avatarThumbs

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

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

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

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

  # @!method initialize(id: nil, avatar: nil, avatar_thumbs: nil, is_verified: nil, name: nil, username: nil, view: nil)
  #   @param id [Integer]
  #   @param avatar [String]
  #   @param avatar_thumbs [Onlyfans::Models::UserLists::UserRemoveResponse::Data::List::User::AvatarThumbs]
  #   @param is_verified [Boolean]
  #   @param name [String]
  #   @param username [String]
  #   @param view [String]

  # @see Onlyfans::Models::UserLists::UserRemoveResponse::Data::List::User#avatar_thumbs
  class AvatarThumbs < Onlyfans::Internal::Type::BaseModel
    # @!attribute c144
    #
    #   @return [String, nil]
    optional :c144, String

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

    # @!method initialize(c144: nil, c50: nil)
    #   @param c144 [String]
    #   @param c50 [String]
  end
end

Instance Attribute Details

#avatarString?

Returns:

  • (String, nil)


250
# File 'lib/onlyfans/models/user_lists/user_remove_response.rb', line 250

optional :avatar, String

#avatar_thumbsOnlyfans::Models::UserLists::UserRemoveResponse::Data::List::User::AvatarThumbs?



255
256
257
# File 'lib/onlyfans/models/user_lists/user_remove_response.rb', line 255

optional :avatar_thumbs,
-> { Onlyfans::Models::UserLists::UserRemoveResponse::Data::List::User::AvatarThumbs },
api_name: :avatarThumbs

#idInteger?

Returns:

  • (Integer, nil)


245
# File 'lib/onlyfans/models/user_lists/user_remove_response.rb', line 245

optional :id, Integer

#is_verifiedBoolean?

Returns:

  • (Boolean, nil)


262
# File 'lib/onlyfans/models/user_lists/user_remove_response.rb', line 262

optional :is_verified, Onlyfans::Internal::Type::Boolean, api_name: :isVerified

#nameString?

Returns:

  • (String, nil)


267
# File 'lib/onlyfans/models/user_lists/user_remove_response.rb', line 267

optional :name, String

#usernameString?

Returns:

  • (String, nil)


272
# File 'lib/onlyfans/models/user_lists/user_remove_response.rb', line 272

optional :username, String

#viewString?

Returns:

  • (String, nil)


277
# File 'lib/onlyfans/models/user_lists/user_remove_response.rb', line 277

optional :view, String