Class: WhopSDK::Models::PersonRetrieveResponse::Data::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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
|
# File 'lib/whop_sdk/models/person_retrieve_response.rb', line 111
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
115
|
# File 'lib/whop_sdk/models/person_retrieve_response.rb', line 115
required :id, String
|
#name ⇒ String?
120
|
# File 'lib/whop_sdk/models/person_retrieve_response.rb', line 120
optional :name, String, nil?: true
|
#thumbnail_url ⇒ String?
125
|
# File 'lib/whop_sdk/models/person_retrieve_response.rb', line 125
optional :thumbnail_url, String, nil?: true
|
Instance Method Details
#to_hash ⇒ { id: String, name: String?, thumbnail_url: String? }
134
|
# File 'sig/whop_sdk/models/person_retrieve_response.rbs', line 134
def to_hash: -> { id: String, name: String?, thumbnail_url: String? }
|