Class: WhopSDK::Models::EventListResponse::User

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/whop_sdk/models/event_list_response.rb,
sig/whop_sdk/models/event_list_response.rbs

Overview

See Also:

  • WhopSDK::Models::EventListResponse#user

Instance Attribute Summary collapse

Instance Method Summary collapse

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(city: nil, country: nil, email: nil, first_name: nil, last_name: nil, name: nil, phone: nil, state: nil) ⇒ Object

Parameters:

  • city (String, nil) (defaults to: nil)
  • country (String, nil) (defaults to: nil)
  • email (String, nil) (defaults to: nil)
  • first_name (String, nil) (defaults to: nil)
  • last_name (String, nil) (defaults to: nil)
  • name (String, nil) (defaults to: nil)
  • phone (String, nil) (defaults to: nil)
  • state (String, nil) (defaults to: nil)


# File 'lib/whop_sdk/models/event_list_response.rb', line 230

Instance Attribute Details

#cityString?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


193
# File 'lib/whop_sdk/models/event_list_response.rb', line 193

optional :city, String, nil?: true

#countryString?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


198
# File 'lib/whop_sdk/models/event_list_response.rb', line 198

optional :country, String, nil?: true

#emailString?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


203
# File 'lib/whop_sdk/models/event_list_response.rb', line 203

optional :email, String, nil?: true

#first_nameString?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


208
# File 'lib/whop_sdk/models/event_list_response.rb', line 208

optional :first_name, String, nil?: true

#last_nameString?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


213
# File 'lib/whop_sdk/models/event_list_response.rb', line 213

optional :last_name, String, nil?: true

#nameString?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


218
# File 'lib/whop_sdk/models/event_list_response.rb', line 218

optional :name, String, nil?: true

#phoneString?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


223
# File 'lib/whop_sdk/models/event_list_response.rb', line 223

optional :phone, String, nil?: true

#stateString?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


228
# File 'lib/whop_sdk/models/event_list_response.rb', line 228

optional :state, String, nil?: true

Instance Method Details

#to_hash{

Returns:

  • ({)


218
# File 'sig/whop_sdk/models/event_list_response.rbs', line 218

def to_hash: -> {