Class: WhopSDK::Models::PersonListResponse::AdSet
Instance Attribute Summary collapse
Instance Method Summary
collapse
-
#initialize(id:, account_id:, first_seen_at:, last_seen_at:, person_id:, purchase_count:, ad_sets: nil, ads: nil, aov: nil, campaigns: nil, email: nil, has_failed_payment: nil, ltv: nil, name: nil, phone: nil) ⇒ Object
constructor
-
#to_hash ⇒ { id: String, name: String?, thumbnail_url: String? }
==, #==, #[], 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:, account_id:, first_seen_at:, last_seen_at:, person_id:, purchase_count:, ad_sets: nil, ads: nil, aov: nil, campaigns: nil, email: nil, has_failed_payment: nil, ltv: nil, name: nil, phone: nil) ⇒ Object
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
|
# File 'lib/whop_sdk/models/person_list_response.rb', line 100
class AdSet < WhopSDK::Internal::Type::BaseModel
required :id, String
optional :name, String, nil?: true
optional :thumbnail_url, String, nil?: true
end
|
Instance Attribute Details
#id ⇒ String
104
|
# File 'lib/whop_sdk/models/person_list_response.rb', line 104
required :id, String
|
#name ⇒ String?
109
|
# File 'lib/whop_sdk/models/person_list_response.rb', line 109
optional :name, String, nil?: true
|
#thumbnail_url ⇒ String?
114
|
# File 'lib/whop_sdk/models/person_list_response.rb', line 114
optional :thumbnail_url, String, nil?: true
|
Instance Method Details
#to_hash ⇒ { id: String, name: String?, thumbnail_url: String? }
122
|
# File 'sig/whop_sdk/models/person_list_response.rbs', line 122
def to_hash: -> { id: String, name: String?, thumbnail_url: String? }
|