Class: Telnyx::Models::Legacy::Reporting::BatchDetailRecords::BatchCsvPaginationMeta

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/legacy/reporting/batch_detail_records/batch_csv_pagination_meta.rb,
sig/telnyx/models/legacy/reporting/batch_detail_records/batch_csv_pagination_meta.rbs

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(page_number:, total_pages:, page_size: nil, total_results: nil) ⇒ Object



# File 'lib/telnyx/models/legacy/reporting/batch_detail_records/batch_csv_pagination_meta.rb', line 29


Instance Attribute Details

#page_numberInteger



12
# File 'lib/telnyx/models/legacy/reporting/batch_detail_records/batch_csv_pagination_meta.rb', line 12

required :page_number, Integer

#page_sizeInteger?



22
# File 'lib/telnyx/models/legacy/reporting/batch_detail_records/batch_csv_pagination_meta.rb', line 22

optional :page_size, Integer

#total_pagesInteger



17
# File 'lib/telnyx/models/legacy/reporting/batch_detail_records/batch_csv_pagination_meta.rb', line 17

required :total_pages, Integer

#total_resultsInteger?



27
# File 'lib/telnyx/models/legacy/reporting/batch_detail_records/batch_csv_pagination_meta.rb', line 27

optional :total_results, Integer

Instance Method Details

#to_hash{



34
# File 'sig/telnyx/models/legacy/reporting/batch_detail_records/batch_csv_pagination_meta.rbs', line 34

def to_hash: -> {