Class: Telnyx::Internal::DefaultPaginationForLogMessages::Meta

Inherits:
Type::BaseModel
  • Object
show all
Defined in:
lib/telnyx/internal/default_pagination_for_log_messages.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from 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 Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(page_number:, total_pages:) ⇒ Object

Parameters:

  • page_number (Integer)
  • total_pages (Integer)


# File 'lib/telnyx/internal/default_pagination_for_log_messages.rb', line 107

Instance Attribute Details

#page_numberInteger

Returns:

  • (Integer)


100
# File 'lib/telnyx/internal/default_pagination_for_log_messages.rb', line 100

required :page_number, Integer

#total_pagesInteger

Returns:

  • (Integer)


105
# File 'lib/telnyx/internal/default_pagination_for_log_messages.rb', line 105

required :total_pages, Integer