Class: WhopSDK::Models::AccountListResponse::Pagination
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::AccountListResponse::Pagination
- Defined in:
- lib/whop_sdk/models/account_list_response.rb
Overview
Instance Attribute Summary collapse
-
#current_page ⇒ Float
Current page number.
-
#next_page ⇒ Float?
Next page number.
-
#prev_page ⇒ Float?
Previous page number.
-
#total_count ⇒ Float
Total number of records.
-
#total_pages ⇒ Float
Total number of pages.
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(current_page:, next_page:, prev_page:, total_count:, total_pages:) ⇒ Object
|
|
# File 'lib/whop_sdk/models/account_list_response.rb', line 53
|
Instance Attribute Details
#current_page ⇒ Float
Current page number
27 |
# File 'lib/whop_sdk/models/account_list_response.rb', line 27 required :current_page, Float |
#next_page ⇒ Float?
Next page number
33 |
# File 'lib/whop_sdk/models/account_list_response.rb', line 33 required :next_page, Float, nil?: true |
#prev_page ⇒ Float?
Previous page number
39 |
# File 'lib/whop_sdk/models/account_list_response.rb', line 39 required :prev_page, Float, nil?: true |
#total_count ⇒ Float
Total number of records
45 |
# File 'lib/whop_sdk/models/account_list_response.rb', line 45 required :total_count, Float |
#total_pages ⇒ Float
Total number of pages
51 |
# File 'lib/whop_sdk/models/account_list_response.rb', line 51 required :total_pages, Float |