Class: WhopSDK::Models::WalletListResponse::Wallet

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/whop_sdk/models/wallet_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(address:, balance_usd:, network:) ⇒ Object

Parameters:

  • address (String)
  • balance_usd (String)
  • network (String)


15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# File 'lib/whop_sdk/models/wallet_list_response.rb', line 15

class Wallet < WhopSDK::Internal::Type::BaseModel
  # @!attribute address
  #
  #   @return [String]
  required :address, String

  # @!attribute balance_usd
  #
  #   @return [String]
  required :balance_usd, String

  # @!attribute network
  #
  #   @return [String]
  required :network, String

  # @!method initialize(address:, balance_usd:, network:)
  #   @param address [String]
  #   @param balance_usd [String]
  #   @param network [String]
end

Instance Attribute Details

#addressString

Returns:

  • (String)


19
# File 'lib/whop_sdk/models/wallet_list_response.rb', line 19

required :address, String

#balance_usdString

Returns:

  • (String)


24
# File 'lib/whop_sdk/models/wallet_list_response.rb', line 24

required :balance_usd, String

#networkString

Returns:

  • (String)


29
# File 'lib/whop_sdk/models/wallet_list_response.rb', line 29

required :network, String