Class: WhopSDK::Models::FinancialActivityListResponse::Data::Resource::UnionMember0

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

Defined Under Namespace

Modules: Object

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(id:, logo_url:, object:, route:, title:) ⇒ Object

Parameters:



# File 'lib/whop_sdk/models/financial_activity_list_response.rb', line 217

Instance Attribute Details

#idString

Account ID.

Parameters:

  • value (String)

Returns:

  • (String)


191
# File 'lib/whop_sdk/models/financial_activity_list_response.rb', line 191

required :id, String

#logo_urlString?

Account logo URL.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


197
# File 'lib/whop_sdk/models/financial_activity_list_response.rb', line 197

required :logo_url, String, nil?: true

#objectSymbol, WhopSDK::Models::FinancialActivityListResponse::Data::Resource::UnionMember0::Object

Parameters:

  • value (WhopSDK::Models::FinancialActivityListResponse::Data::Resource::UnionMember0::object)

Returns:



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

required :object,
enum: -> { WhopSDK::Models::FinancialActivityListResponse::Data::Resource::UnionMember0::Object }

#routeString?

Account route.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


209
# File 'lib/whop_sdk/models/financial_activity_list_response.rb', line 209

required :route, String, nil?: true

#titleString?

Account display name.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


215
# File 'lib/whop_sdk/models/financial_activity_list_response.rb', line 215

required :title, String, nil?: true

Instance Method Details

#to_hash{

Returns:

  • ({)


161
# File 'sig/whop_sdk/models/financial_activity_list_response.rbs', line 161

def to_hash: -> {