Class: Sentdm::Models::WebhookListResponse::Data::Pagination
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Sentdm::Models::WebhookListResponse::Data::Pagination
- Defined in:
- lib/sentdm/models/webhook_list_response.rb
Overview
Defined Under Namespace
Classes: Cursors
Instance Attribute Summary collapse
-
#cursors ⇒ Sentdm::Models::WebhookListResponse::Data::Pagination::Cursors?
Cursor-based pagination pointers.
-
#has_more ⇒ Boolean?
Whether there are more pages after this one.
-
#page ⇒ Integer?
Current page number (1-indexed).
-
#page_size ⇒ Integer?
Number of items per page.
-
#total_count ⇒ Integer?
Total number of items across all pages.
-
#total_pages ⇒ Integer?
Total number of pages.
Instance Method Summary collapse
-
#initialize(cursors: nil, has_more: nil, page: nil, page_size: nil, total_count: nil, total_pages: nil) ⇒ Object
constructor
Pagination metadata for list responses.
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(cursors: nil, has_more: nil, page: nil, page_size: nil, total_count: nil, total_pages: nil) ⇒ Object
Pagination metadata for list responses
|
|
# File 'lib/sentdm/models/webhook_list_response.rb', line 101
|
Instance Attribute Details
#cursors ⇒ Sentdm::Models::WebhookListResponse::Data::Pagination::Cursors?
Cursor-based pagination pointers
69 |
# File 'lib/sentdm/models/webhook_list_response.rb', line 69 optional :cursors, -> { Sentdm::Models::WebhookListResponse::Data::Pagination::Cursors }, nil?: true |
#has_more ⇒ Boolean?
Whether there are more pages after this one
75 |
# File 'lib/sentdm/models/webhook_list_response.rb', line 75 optional :has_more, Sentdm::Internal::Type::Boolean |
#page ⇒ Integer?
Current page number (1-indexed)
81 |
# File 'lib/sentdm/models/webhook_list_response.rb', line 81 optional :page, Integer |
#page_size ⇒ Integer?
Number of items per page
87 |
# File 'lib/sentdm/models/webhook_list_response.rb', line 87 optional :page_size, Integer |
#total_count ⇒ Integer?
Total number of items across all pages
93 |
# File 'lib/sentdm/models/webhook_list_response.rb', line 93 optional :total_count, Integer |
#total_pages ⇒ Integer?
Total number of pages
99 |
# File 'lib/sentdm/models/webhook_list_response.rb', line 99 optional :total_pages, Integer |