Class: WhopSDK::Models::Referrals::BusinessLeaderboardResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::Referrals::BusinessLeaderboardResponse
- Defined in:
- lib/whop_sdk/models/referrals/business_leaderboard_response.rb,
sig/whop_sdk/models/referrals/business_leaderboard_response.rbs
Overview
Defined Under Namespace
Instance Attribute Summary collapse
-
#leaders ⇒ Array<WhopSDK::Models::Referrals::BusinessLeaderboardResponse::Leader>
The top referrers by total earnings, best first.
-
#me ⇒ WhopSDK::Models::Referrals::BusinessLeaderboardResponse::Me?
The caller's own standing; null when the caller has no referral earnings.
Instance Method Summary collapse
-
#initialize(url:) ⇒ Object
constructor
The user's profile picture.
- #to_hash ⇒ {
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(url:) ⇒ Object
The user's profile picture. Present only on the caller's own entry.
|
|
# File 'lib/whop_sdk/models/referrals/business_leaderboard_response.rb', line 145
|
Instance Attribute Details
#leaders ⇒ Array<WhopSDK::Models::Referrals::BusinessLeaderboardResponse::Leader>
The top referrers by total earnings, best first.
12 13 |
# File 'lib/whop_sdk/models/referrals/business_leaderboard_response.rb', line 12 required :leaders, -> { WhopSDK::Internal::Type::ArrayOf[WhopSDK::Models::Referrals::BusinessLeaderboardResponse::Leader] } |
#me ⇒ WhopSDK::Models::Referrals::BusinessLeaderboardResponse::Me?
The caller's own standing; null when the caller has no referral earnings.
19 |
# File 'lib/whop_sdk/models/referrals/business_leaderboard_response.rb', line 19 required :me, -> { WhopSDK::Models::Referrals::BusinessLeaderboardResponse::Me }, nil?: true |
Instance Method Details
#to_hash ⇒ {
20 |
# File 'sig/whop_sdk/models/referrals/business_leaderboard_response.rbs', line 20
def to_hash: -> {
|