Class: WhopSDK::Models::LedgerAccountFundsAvailableWebhookEvent::Data::Owner::User

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

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

#initializeObject



157
# File 'sig/whop_sdk/models/ledger_account_funds_available_webhook_event.rbs', line 157

def initialize: (

Instance Attribute Details

#idString

The unique identifier for the user.

Parameters:

  • value (String)

Returns:

  • (String)


205
# File 'lib/whop_sdk/models/ledger_account_funds_available_webhook_event.rb', line 205

required :id, String

#nameString?

The user's display name shown on their public profile.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


211
# File 'lib/whop_sdk/models/ledger_account_funds_available_webhook_event.rb', line 211

required :name, String, nil?: true

#typenameSymbol, :User

The typename of this object

Parameters:

  • value (:User)

Returns:

  • (Symbol, :User)


217
# File 'lib/whop_sdk/models/ledger_account_funds_available_webhook_event.rb', line 217

required :typename, const: :User

#usernameString

The user's unique username shown on their public profile.

Parameters:

  • value (String)

Returns:

  • (String)


223
# File 'lib/whop_sdk/models/ledger_account_funds_available_webhook_event.rb', line 223

required :username, String

Instance Method Details

#to_hash{

Returns:

  • ({)


164
# File 'sig/whop_sdk/models/ledger_account_funds_available_webhook_event.rbs', line 164

def to_hash: -> {