Class: WhopSDK::Models::FinancialActivityListResponse::PageInfo

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

Overview

See Also:

  • WhopSDK::Models::FinancialActivityListResponse#page_info

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(end_cursor:, has_next_page:, has_previous_page:, start_cursor:) ⇒ Object

Parameters:

  • end_cursor (String, nil)
  • has_next_page (Boolean)
  • has_previous_page (Boolean)
  • start_cursor (String, nil)


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

Instance Attribute Details

#end_cursorString?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


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

required :end_cursor, String, nil?: true

#has_next_pageBoolean

Parameters:

  • value (Boolean)

Returns:

  • (Boolean)


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

required :has_next_page, WhopSDK::Internal::Type::Boolean

#has_previous_pageBoolean

Parameters:

  • value (Boolean)

Returns:

  • (Boolean)


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

required :has_previous_page, WhopSDK::Internal::Type::Boolean

#start_cursorString?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


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

required :start_cursor, String, nil?: true

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {