Class: WhopSDK::Models::EventListResponse
Overview
Defined Under Namespace
Classes: Context, Question, User
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: nil, answer: nil, key: nil, options: nil, question: nil, type: nil) ⇒ Object
|
# File 'lib/whop_sdk/models/event_list_response.rb', line 79
|
Instance Attribute Details
30
|
# File 'lib/whop_sdk/models/event_list_response.rb', line 30
optional :context, -> { WhopSDK::Models::EventListResponse::Context }, nil?: true
|
#currency ⇒ String?
35
|
# File 'lib/whop_sdk/models/event_list_response.rb', line 35
optional :currency, String, nil?: true
|
#custom_name ⇒ String?
40
|
# File 'lib/whop_sdk/models/event_list_response.rb', line 40
optional :custom_name, String, nil?: true
|
#event_id ⇒ String
15
|
# File 'lib/whop_sdk/models/event_list_response.rb', line 15
required :event_id, String
|
#event_name ⇒ String
20
|
# File 'lib/whop_sdk/models/event_list_response.rb', line 20
required :event_name, String
|
#event_time ⇒ Integer
25
|
# File 'lib/whop_sdk/models/event_list_response.rb', line 25
required :event_time, Integer
|
#id ⇒ String
10
|
# File 'lib/whop_sdk/models/event_list_response.rb', line 10
required :id, String
|
#path ⇒ String?
45
|
# File 'lib/whop_sdk/models/event_list_response.rb', line 45
optional :path, String, nil?: true
|
50
51
52
|
# File 'lib/whop_sdk/models/event_list_response.rb', line 50
optional :questions,
-> { WhopSDK::Internal::Type::ArrayOf[WhopSDK::Models::EventListResponse::Question] },
nil?: true
|
#referrer_url ⇒ String?
57
|
# File 'lib/whop_sdk/models/event_list_response.rb', line 57
optional :referrer_url, String, nil?: true
|
#total_usd_amount ⇒ Float?
62
|
# File 'lib/whop_sdk/models/event_list_response.rb', line 62
optional :total_usd_amount, Float, nil?: true
|
#url ⇒ String?
67
|
# File 'lib/whop_sdk/models/event_list_response.rb', line 67
optional :url, String, nil?: true
|
72
|
# File 'lib/whop_sdk/models/event_list_response.rb', line 72
optional :user, -> { WhopSDK::Models::EventListResponse::User }, nil?: true
|
#value ⇒ Float?
77
|
# File 'lib/whop_sdk/models/event_list_response.rb', line 77
optional :value, Float, nil?: true
|
Instance Method Details
#to_hash ⇒ {
67
|
# File 'sig/whop_sdk/models/event_list_response.rbs', line 67
def to_hash: -> {
|