Class: Telnyx::Internal::DefaultPaginationForLogMessages::Meta
- Inherits:
-
Type::BaseModel
- Object
- Type::BaseModel
- Telnyx::Internal::DefaultPaginationForLogMessages::Meta
- Defined in:
- lib/telnyx/internal/default_pagination_for_log_messages.rb,
sig/telnyx/internal/default_pagination_for_log_messages.rbs
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(page_number:, total_pages:) ⇒ Meta
constructor
A new instance of Meta.
- #to_hash ⇒ { page_number: Integer, total_pages: Integer }
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:) ⇒ Meta
Returns a new instance of Meta.
|
|
# File 'lib/telnyx/internal/default_pagination_for_log_messages.rb', line 107
|
Instance Attribute Details
#page_number ⇒ Integer
100 |
# File 'lib/telnyx/internal/default_pagination_for_log_messages.rb', line 100 required :page_number, Integer |
#total_pages ⇒ Integer
105 |
# File 'lib/telnyx/internal/default_pagination_for_log_messages.rb', line 105 required :total_pages, Integer |
Instance Method Details
#to_hash ⇒ { page_number: Integer, total_pages: Integer }
20 |
# File 'sig/telnyx/internal/default_pagination_for_log_messages.rbs', line 20
def to_hash: -> { page_number: Integer, total_pages: Integer }
|