Class: WhopSDK::Models::PersonListResponse
Overview
Defined Under Namespace
Classes: Ad, AdSet, Campaign
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id:, name: nil, thumbnail_url: nil) ⇒ Object
|
# File 'lib/whop_sdk/models/person_list_response.rb', line 116
|
Instance Attribute Details
#account_id ⇒ String
15
|
# File 'lib/whop_sdk/models/person_list_response.rb', line 15
required :account_id, String
|
40
|
# File 'lib/whop_sdk/models/person_list_response.rb', line 40
optional :ad_sets, -> { WhopSDK::Internal::Type::ArrayOf[WhopSDK::Models::PersonListResponse::AdSet] }
|
45
|
# File 'lib/whop_sdk/models/person_list_response.rb', line 45
optional :ads, -> { WhopSDK::Internal::Type::ArrayOf[WhopSDK::Models::PersonListResponse::Ad] }
|
#aov ⇒ Float?
50
|
# File 'lib/whop_sdk/models/person_list_response.rb', line 50
optional :aov, Float
|
55
56
|
# File 'lib/whop_sdk/models/person_list_response.rb', line 55
optional :campaigns,
-> { WhopSDK::Internal::Type::ArrayOf[WhopSDK::Models::PersonListResponse::Campaign] }
|
#email ⇒ String?
61
|
# File 'lib/whop_sdk/models/person_list_response.rb', line 61
optional :email, String, nil?: true
|
#first_seen_at ⇒ Integer
20
|
# File 'lib/whop_sdk/models/person_list_response.rb', line 20
required :first_seen_at, Integer
|
#has_failed_payment ⇒ Boolean?
66
|
# File 'lib/whop_sdk/models/person_list_response.rb', line 66
optional :has_failed_payment, WhopSDK::Internal::Type::Boolean
|
#id ⇒ String
10
|
# File 'lib/whop_sdk/models/person_list_response.rb', line 10
required :id, String
|
#last_seen_at ⇒ Integer
25
|
# File 'lib/whop_sdk/models/person_list_response.rb', line 25
required :last_seen_at, Integer
|
#ltv ⇒ Float?
71
|
# File 'lib/whop_sdk/models/person_list_response.rb', line 71
optional :ltv, Float
|
#name ⇒ String?
76
|
# File 'lib/whop_sdk/models/person_list_response.rb', line 76
optional :name, String, nil?: true
|
#person_id ⇒ String
30
|
# File 'lib/whop_sdk/models/person_list_response.rb', line 30
required :person_id, String
|
#phone ⇒ String?
81
|
# File 'lib/whop_sdk/models/person_list_response.rb', line 81
optional :phone, String, nil?: true
|
#purchase_count ⇒ Integer
35
|
# File 'lib/whop_sdk/models/person_list_response.rb', line 35
required :purchase_count, Integer
|
Instance Method Details
#to_hash ⇒ {
89
|
# File 'sig/whop_sdk/models/person_list_response.rbs', line 89
def to_hash: -> {
|