Class: Onlyfans::Models::TransactionListResponse::Data::List::User

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/transaction_list_response.rb,
sig/onlyfans/models/transaction_list_response.rbs

Overview

See Also:

  • Onlyfans::Models::TransactionListResponse::Data::List#user

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:



# File 'lib/onlyfans/models/transaction_list_response.rb', line 279

Instance Attribute Details

#avatar ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :avatar, String

#avatar_thumbs ⇒ Onlyfans::Models::TransactionListResponse::Data::List::User::AvatarThumbs?



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

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

#id ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


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

optional :id, Integer

#is_verified ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


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

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

#name ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :name, String

#username ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :username, String

#view ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :view, String

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


369
# File 'sig/onlyfans/models/transaction_list_response.rbs', line 369

def to_hash: -> {