Class: Telnyx::Models::Reports::PaginationMetaReporting
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/telnyx/models/reports/pagination_meta_reporting.rb,
sig/telnyx/models/reports/pagination_meta_reporting.rbs
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(page_number:, total_pages:, page_size: nil, total_results: nil) ⇒ Object
|
# File 'lib/telnyx/models/reports/pagination_meta_reporting.rb', line 27
|
Instance Attribute Details
#page_number ⇒ Integer
10
|
# File 'lib/telnyx/models/reports/pagination_meta_reporting.rb', line 10
required :page_number, Integer
|
#page_size ⇒ Integer?
20
|
# File 'lib/telnyx/models/reports/pagination_meta_reporting.rb', line 20
optional :page_size, Integer
|
#total_pages ⇒ Integer
15
|
# File 'lib/telnyx/models/reports/pagination_meta_reporting.rb', line 15
required :total_pages, Integer
|
#total_results ⇒ Integer?
25
|
# File 'lib/telnyx/models/reports/pagination_meta_reporting.rb', line 25
optional :total_results, Integer
|
Instance Method Details
#to_hash ⇒ {
32
|
# File 'sig/telnyx/models/reports/pagination_meta_reporting.rbs', line 32
def to_hash: -> {
|